HostObservability

class HostObservability @JvmOverloads constructor(val telemetry: HostTelemetry = HostTelemetry(), metricsBearerToken: String? = null, trustRemoteParent: Boolean = false, pool: DataSource? = null, library: LibraryTelemetry? = null)

Explicit host configuration: metrics are absent unless a secret is provided. Remote trace parents are ignored unless the host explicitly trusts its ingress. Baggage is never extracted. Use TLS or a protected loopback proxy; bearer authentication does not encrypt the connection.

Constructors

Link copied to clipboard
constructor(telemetry: HostTelemetry = HostTelemetry(), metricsBearerToken: String? = null, trustRemoteParent: Boolean = false, pool: DataSource? = null, library: LibraryTelemetry? = null)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun install(application: Application, kind: HostKind)