Registry / observability / otel-sdk-metric

otel-sdk-metric

JSON →
library1.44.0gogounverified

Package metric provides the OpenTelemetry SDK implementation for metric instruments and pipelines.

go get go.opentelemetry.io/otel/sdk/metric
INSTALL
IMPORT
SIG · OTEL-SDK-METRIC
O
otel-sdk-metric
observabilitygov1.44.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.

metric
go.opentelemetry.io/otel/sdk/metric

Create a metric provider with a stdout exporter

import ( "go.opentelemetry.io/otel/sdk/metric" "go.opentelemetry.io/otel/exporters/stdout/stdoutmetric" ) func main() { exporter, _ := stdoutmetric.New() provider := metric.NewMeterProvider(metric.WithReader(metric.NewPeriodicReader(exporter))) _ = provider }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
12
OpenAI (training)
2
Amazon
1
Resources
otel-sdk-metric — go get otel-sdk-metric · libregistry