mirror of
https://github.com/foomo/keel.git
synced 2026-10-06 15:16:59 +00:00
16 lines
327 B
Go
16 lines
327 B
Go
package semconv
|
|
|
|
import (
|
|
"go.opentelemetry.io/otel/attribute"
|
|
)
|
|
|
|
const (
|
|
// DebugEnabledKey is the key for debug.enabled.
|
|
DebugEnabledKey = attribute.Key("debug.enabled")
|
|
)
|
|
|
|
// DebugEnabled returns a new attribute.KeyValue for debug.enabled.
|
|
func DebugEnabled(v bool) attribute.KeyValue {
|
|
return DebugEnabledKey.Bool(v)
|
|
}
|