1
0
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:
Joshua MacDonald
2019-10-29 13:27:22 -07:00
committed by GitHub
parent 7d301220a2
commit 937f4ff8b0
43 changed files with 3530 additions and 508 deletions

View File

@ -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()