Source File
observ.go
Belonging Package
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/internal/x
// Copyright The OpenTelemetry Authors// SPDX-License-Identifier: Apache-2.0package x // import "go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/internal/x"import// Observability is an experimental feature flag that determines if exporter// observability metrics are enabled.//// To enable this feature set the OTEL_GO_X_OBSERVABILITY environment variable// to the case-insensitive string value of "true" (i.e. "True" and "TRUE"// will also enable this).var Observability = newFeature([]string{"OBSERVABILITY"},func( string) (string, bool) {if strings.EqualFold(, "true") {return , true}return "", false},)
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |