Documentation ¶
Overview ¶
Package otelch provide OpenTelemetry instrumentation for go-faster/ch.
Index ¶
- Constants
- func ErrorCode(v int) attribute.KeyValue
- func ErrorName(v string) attribute.KeyValue
- func ProtocolVersion(v int) attribute.KeyValue
- func QueryID(v string) attribute.KeyValue
- func QuotaKey(v string) attribute.KeyValue
- func SemVersion() string
- func ServerName(v string) attribute.KeyValue
- func Version() string
Constants ¶
View Source
const ( QueryIDKey = attribute.Key("ch.query.id") QuotaKeyKey = attribute.Key("ch.quota.key") ProtocolVersionKey = attribute.Key("ch.protocol.version") ServerNameKey = attribute.Key("ch.server.name") ErrorCodeKey = attribute.Key("ch.error.code") ErrorNameKey = attribute.Key("ch.error.name") )
View Source
const Name = "github.com/go-faster/ch"
Name of instrumentation.
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.