Class AlibabaCloudTelemetryExportOptions
Namespace: Cephalon.Observability.AlibabaCloud.Configuration
Assembly: Cephalon.Observability.AlibabaCloud.dll
Configures Alibaba Cloud observability defaults on top of the shared Cephalon telemetry contract.
public sealed class AlibabaCloudTelemetryExportOptionsInheritance
Section titled “Inheritance”object ← AlibabaCloudTelemetryExportOptions
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”AlibabaCloudTelemetryExportOptions()
Section titled “ AlibabaCloudTelemetryExportOptions()”Initializes a new instance of the
public AlibabaCloudTelemetryExportOptions()Properties
Section titled “Properties”AuthenticationToken
Section titled “ AuthenticationToken”Gets or sets the authentication token written to the Alibaba Cloud Authentication header for
OTLP/gRPC direct managed ingestion.
public string? AuthenticationToken { get; set; }Property Value
Section titled “Property Value”Remarks
Section titled “Remarks”This value is only used when otlp or otlp/grpc. OTLP/HTTP managed ingestion expects the supplied
signal-specific endpoints to already follow the provider’s documented tokenized URL shape instead.
HostedPlatform
Section titled “ HostedPlatform”Gets or sets the hosted Alibaba 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 ecs, fc / functioncompute, and openshift.
The package maps them to the current OpenTelemetry cloud.platform attribute values.
ManagedGrpcEndpoint
Section titled “ ManagedGrpcEndpoint”Gets or sets the Alibaba Cloud Managed Service for OpenTelemetry OTLP/gRPC endpoint used for direct managed traces and metrics ingestion.
public string? ManagedGrpcEndpoint { get; set; }Property Value
Section titled “Property Value”Remarks
Section titled “Remarks”This endpoint is only used when Engine:Observability:Telemetry:Endpoint setting is omitted, and the protocol remains on
otlp or otlp/grpc.
ManagedHttpMetricsEndpoint
Section titled “ ManagedHttpMetricsEndpoint”Gets or sets the Alibaba Cloud Managed Service for OpenTelemetry OTLP/HTTP metrics endpoint used for direct managed ingestion.
public string? ManagedHttpMetricsEndpoint { get; set; }Property Value
Section titled “Property Value”Remarks
Section titled “Remarks”This endpoint is only used when otlp/http. The value should already be
the full Alibaba Cloud-managed metrics URL, including any tokenized path shape required by the
provider.
ManagedHttpTracesEndpoint
Section titled “ ManagedHttpTracesEndpoint”Gets or sets the Alibaba Cloud Managed Service for OpenTelemetry OTLP/HTTP traces endpoint used for direct managed ingestion.
public string? ManagedHttpTracesEndpoint { get; set; }Property Value
Section titled “Property Value”Remarks
Section titled “Remarks”This endpoint is only used when otlp/http. The value should already be
the full Alibaba Cloud-managed trace URL, including any tokenized path shape required by the
provider.
Region
Section titled “ Region”Gets or sets the Alibaba Cloud region to stamp onto exported resources when one should be explicit.
public string? Region { get; set; }Property Value
Section titled “Property Value”UseManagedOpenTelemetryIngestion
Section titled “ UseManagedOpenTelemetryIngestion”Gets or sets a value indicating whether the package should use Alibaba Cloud Managed Service for OpenTelemetry 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. Logs stay on the shared collector path, SLS, or another runtime-specific route instead of being redirected implicitly.
Methods
Section titled “Methods”FromConfiguration(IConfiguration, string)
Section titled “ FromConfiguration(IConfiguration, string)”Binds Alibaba Cloud telemetry export options from configuration.
public static AlibabaCloudTelemetryExportOptions 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”AlibabaCloudTelemetryExportOptions
The bound Alibaba Cloud telemetry export options.