You've already forked opentelemetry-go
mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-07-03 00:27:03 +02:00
Metrics SDK work-in-progress (#172)
Introduce the new SDK, four aggregators, and an export interface.
This commit is contained in:
@ -50,7 +50,7 @@ func main() {
|
||||
distributedcontext.Insert(barKey.String("bar1")),
|
||||
)
|
||||
|
||||
commonLabels := meter.Labels(ctx, lemonsKey.Int(10))
|
||||
commonLabels := meter.Labels(lemonsKey.Int(10))
|
||||
|
||||
gauge := oneMetric.AcquireHandle(commonLabels)
|
||||
defer gauge.Release()
|
||||
|
Reference in New Issue
Block a user