1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-11-25 22:41:46 +02:00

Remove WithKeys() option, defaultkeys batcher (#639)

This commit is contained in:
Joshua MacDonald
2020-04-14 16:07:11 -07:00
committed by GitHub
parent bcb8b645ab
commit a8f7b3247b
13 changed files with 13 additions and 415 deletions

View File

@@ -39,7 +39,7 @@ func ExampleNew() {
key := key.New("key")
meter := pusher.Meter("example")
counter := metric.Must(meter).NewInt64Counter("a.counter", metric.WithKeys(key))
counter := metric.Must(meter).NewInt64Counter("a.counter")
counter.Add(ctx, 100, key.String("value"))