1
0
mirror of https://github.com/golang/go synced 2024-11-06 00:26:11 -07:00
go/internal/telemetry/export/metric
Ian Cottrell 1249273038 internal/telemetry: make metrics take a strongly typed key
Now that keys are solidly typed, we can use them for the metrics.
This prevents accidentally using the wrong type of key, and
allows us to use the typed accesorrs rather than the raw value.

Change-Id: I553bd8e12128d3f00a3e926dbd3bfd420cd3f135
Reviewed-on: https://go-review.googlesource.com/c/tools/+/225378
Run-TryBot: Ian Cottrell <iancottrell@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
2020-03-26 17:45:58 +00:00
..
data.go internal/telemetry: make metrics take a strongly typed key 2020-03-26 17:45:58 +00:00
exporter.go internal/telemetry: replace TagSet with TagMap and TagPointer 2020-03-25 01:00:44 +00:00
info.go internal/telemetry: make metrics take a strongly typed key 2020-03-26 17:45:58 +00:00