Documentation ¶
Overview ¶
Package otelogen provides OpenTelemetry tracing for ogen.
Index ¶
Constants ¶
View Source
const ( ClientRequestCount = "ogen.client.request_count" // Outgoing request count total ClientErrorsCount = "ogen.client.errors_count" // Outgoing errors total ClientDuration = "ogen.client.duration" // Outgoing end to end duration, microseconds )
View Source
const ( ServerRequestCount = "ogen.server.request_count" // Incoming request count total ServerErrorsCount = "ogen.server.errors_count" // Incoming errors total ServerDuration = "ogen.server.duration" // Incoming end to end duration, microseconds )
View Source
const Name = "github.com/ogen-go/ogen"
Name of instrumentation.
View Source
const ( // OperationIDKey by OpenAPI specification. OperationIDKey = attribute.Key("oas.operation") )
Variables ¶
This section is empty.
Functions ¶
func SemVersion ¶
func SemVersion() string
SemVersion is the semantic version to be supplied to tracer/meter creation.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.