Class AwsHostApplicationBuilderExtensions
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.Observability.Aws.Hosting
Assembly: Cephalon.Observability.Aws.dll
Adds AWS-hosted observability defaults and OTLP exporter wiring for Cephalon hosts.
public static class AwsHostApplicationBuilderExtensionsInheritance
Section titled “Inheritance”object ← AwsHostApplicationBuilderExtensions
Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Methods
Section titled “Methods”AddCephalonAws<TBuilder>(TBuilder, Action<AwsTelemetryExportOptions>?)
Section titled “ AddCephalonAws<TBuilder>(TBuilder, Action<AwsTelemetryExportOptions>?)”Adds AWS-aware OpenTelemetry registration for the Cephalon engine diagnostics surface.
public static TBuilder AddCephalonAws<TBuilder>(this TBuilder builder, Action<AwsTelemetryExportOptions>? configure = null) where TBuilder : IHostApplicationBuilderParameters
Section titled “Parameters”builder TBuilder
The target host-application builder.
configure Action<AwsTelemetryExportOptions>?
An optional callback that can extend or override the configuration-driven AWS telemetry export options.
Returns
Section titled “Returns”TBuilder
The same builder instance for fluent host composition.
Type Parameters
Section titled “Type Parameters”TBuilder
The host-application builder type to extend.
Remarks
Section titled “Remarks”
This package keeps AWS-specific propagation, resource detection, and AWS SDK instrumentation outside
Cephalon.Engine and the baseline observability package. It still uses the shared
Engine:Observability:Telemetry contract and the same OTLP exporter path as the cloud-neutral
OpenTelemetry package.
Registration is skipped when every signal is disabled or when no export endpoint is configured and
explicit self-hosted defaults are not enabled. When HostedPlatform is supplied, the package
adds AWS-specific resource detectors and hosted-platform defaults on top of the existing service-name,
service-version, and optional deployment.environment.name defaults.