Package-level declarations

Properties

Link copied to clipboard
Link copied to clipboard
val declarativeOtelSdk: OpenTelemetry

Declarative OpenTelemetry SDK configuration. Loads configuration from either:

Link copied to clipboard
Link copied to clipboard
const val TRACE_ID: String

Functions

Link copied to clipboard
Link copied to clipboard

Configures OpenTelemetry for the application. Checks if the OTel Java agent is active and installs the custom OTel extension plugin. The agent status is logged for monitoring purposes.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Configures OpenTelemetry instrumentation for Ktor server.

Link copied to clipboard
suspend fun ApplicationCall.respondError(status: HttpStatusCode, message: String, cause: Throwable? = null)
Link copied to clipboard
fun userError(message: Any): Nothing