1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-12-01 23:12:29 +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

@@ -78,7 +78,6 @@ func main() {
result.Observe(1, commonLabels...)
}
_ = metric.Must(meter).RegisterFloat64Observer("ex.com.one", oneMetricCB,
metric.WithKeys(fooKey, barKey, lemonsKey),
metric.WithDescription("An observer set to 1.0"),
)