Registry / observability / contrib-config

contrib-config

JSON →
library0.15.0gogounverified

Package config can be used to parse a configuration file that follows the JSON Schema defined by the OpenTelemetry Configuration schema.

go get go.opentelemetry.io/contrib/config
INSTALL
IMPORT
SIG · CONTRIB-CONFIG
C
contrib-config
observabilitygov0.15.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

config
go.opentelemetry.io/contrib/config

Parse an OpenTelemetry configuration file and print it.

package main import ( "fmt" "go.opentelemetry.io/contrib/config" ) func main() { cfg, err := config.ParseFile("otel-config.yaml") if err != nil { panic(err) } fmt.Println(cfg) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.15.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
12
OpenAI (training)
1
Resources
contrib-config — go get contrib-config · libregistry