Skip to content

Structure

PostgresTracingConfiguration

Configures the spans PostgresNIO emits, following the OpenTelemetry database span semantic conventions.
struct PostgresTracingConfiguration

Overview

Each operation creates its span with InstrumentationSystem.tracer, which also picks up withTracer(_:_:). To turn tracing off for an operation, run it inside withTracer(NoOpTracer()).

Topics

Initializers

  • init()
    Creates a tracing configuration.

Instance Properties

Relationships

Conforms To

  • Swift.Sendable
  • Swift.SendableMetatype