Skip to content

Class OracleCloudHostApplicationBuilderExtensions

Namespace: Cephalon.Observability.OracleCloud.Hosting
Assembly: Cephalon.Observability.OracleCloud.dll

Adds Oracle Cloud-hosted observability defaults and optional Oracle Cloud APM managed ingestion for Cephalon hosts.

public static class OracleCloudHostApplicationBuilderExtensions

objectOracleCloudHostApplicationBuilderExtensions

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

AddCephalonOracleCloud<TBuilder>(TBuilder, Action<OracleCloudTelemetryExportOptions>?)

Section titled “ AddCephalonOracleCloud<TBuilder>(TBuilder, Action<OracleCloudTelemetryExportOptions>?)”

Adds Oracle Cloud-aware OpenTelemetry registration for the Cephalon engine diagnostics surface.

public static TBuilder AddCephalonOracleCloud<TBuilder>(this TBuilder builder, Action<OracleCloudTelemetryExportOptions>? configure = null) where TBuilder : IHostApplicationBuilder

builder TBuilder

The target host-application builder.

configure Action<OracleCloudTelemetryExportOptions>?

An optional callback that can extend or override the configuration-driven Oracle Cloud telemetry export options.

TBuilder

The same builder instance for fluent host composition.

TBuilder

The host-application builder type to extend.

This package keeps Oracle Cloud-specific resource defaults and managed APM ingestion concerns outside Cephalon.Engine and the baseline observability package. It still uses the shared Engine:Observability:Telemetry contract so hosts can keep one explicit telemetry surface.

When Endpoint or UseSelfHostedDefaults is configured, the package keeps using the shared collector-oriented OTLP path and layers Oracle Cloud resource defaults on top. When those shared endpoint settings are absent and UseManagedOpenTelemetryIngestion is enabled, the package targets Oracle Cloud APM OTLP/HTTP ingestion for traces and metrics only. Logs stay on the shared collector path, Oracle Log Analytics, or another runtime-specific route instead of being redirected implicitly.