Class OracleCloudTelemetryExportOptions
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.Observability.OracleCloud.Configuration
Assembly: Cephalon.Observability.OracleCloud.dll
Configures Oracle Cloud observability defaults on top of the shared Cephalon telemetry contract.
public sealed class OracleCloudTelemetryExportOptionsInheritance
Section titled “Inheritance”object ← OracleCloudTelemetryExportOptions
Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”OracleCloudTelemetryExportOptions()
Section titled “ OracleCloudTelemetryExportOptions()”Initializes a new instance of the
public OracleCloudTelemetryExportOptions()Properties
Section titled “Properties”DataUploadEndpoint
Section titled “ DataUploadEndpoint”Gets or sets the Oracle Cloud APM data upload endpoint used to build direct managed OTLP/HTTP ingestion URLs.
public string? DataUploadEndpoint { get; set; }Property Value
Section titled “Property Value”Remarks
Section titled “Remarks”This value should be the Oracle Cloud APM DataUploadEndpoint for the target domain.
The package appends the documented OpenTelemetry signal paths when direct managed ingestion is enabled.
HostedPlatform
Section titled “ HostedPlatform”Gets or sets the hosted Oracle Cloud platform whose default resource attributes should be applied.
public string? HostedPlatform { get; set; }Property Value
Section titled “Property Value”Remarks
Section titled “Remarks”Supported values are compute, oke, and functions.
The package maps them to the current OpenTelemetry cloud.platform attribute values.
MetricsDataKey
Section titled “ MetricsDataKey”Gets or sets the Oracle Cloud APM private metrics data key used for direct managed metrics ingestion.
public string? MetricsDataKey { get; set; }Property Value
Section titled “Property Value”Region
Section titled “ Region”Gets or sets the Oracle Cloud region to stamp onto exported resources when one should be explicit.
public string? Region { get; set; }Property Value
Section titled “Property Value”TraceDataKey
Section titled “ TraceDataKey”Gets or sets the Oracle Cloud APM trace data key used for direct managed trace ingestion.
public string? TraceDataKey { get; set; }Property Value
Section titled “Property Value”Remarks
Section titled “Remarks”When
UseManagedOpenTelemetryIngestion
Section titled “ UseManagedOpenTelemetryIngestion”Gets or sets a value indicating whether the package should use Oracle Cloud APM managed OpenTelemetry ingestion when no shared collector endpoint is configured.
public bool UseManagedOpenTelemetryIngestion { get; set; }Property Value
Section titled “Property Value”Remarks
Section titled “Remarks”This direct managed path is intentionally limited to traces and metrics over OTLP/HTTP. Logs stay on the shared collector path, Oracle Log Analytics, or another runtime-specific route instead of being redirected implicitly.
UsePublicTraceDataKey
Section titled “ UsePublicTraceDataKey”Gets or sets a value indicating whether trace ingestion should use the public Oracle Cloud APM data key path instead of the private data key path.
public bool UsePublicTraceDataKey { get; set; }Property Value
Section titled “Property Value”Remarks
Section titled “Remarks”Metrics always use the private-key path in Oracle Cloud APM.
Methods
Section titled “Methods”FromConfiguration(IConfiguration, string)
Section titled “ FromConfiguration(IConfiguration, string)”Binds Oracle Cloud telemetry export options from configuration.
public static OracleCloudTelemetryExportOptions FromConfiguration(IConfiguration configuration, string sectionPath = "Engine")Parameters
Section titled “Parameters”configuration IConfiguration
The application configuration root.
sectionPath string
The configuration section path that contains the engine settings. The default is Engine.
Returns
Section titled “Returns”OracleCloudTelemetryExportOptions
The bound Oracle Cloud telemetry export options.