1
0
mirror of https://github.com/golang/go synced 2024-11-06 09:16:16 -07:00
go/internal/telemetry/export/ocagent/wire
Nathan Dias f774e2e2e5 internal/telemetry/export/ocagent: update usages of BucketOptions to use pointers
This change updates initializations of DistributionValue to pass in a pointer for
BucketOptions rather than a value so that the custom MarshalJSON for
*BucketOptionsExplicit will be called when marshalling distributions.

Updates golang/go#33819

Change-Id: I6d1a393dfa67d626bf5cdd2cfbc0c931d376f60c
Reviewed-on: https://go-review.googlesource.com/c/tools/+/208401
Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
Run-TryBot: Emmanuel Odeke <emm.odeke@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2019-11-22 08:00:28 +00:00
..
common.go internal/telemetry: clean up the exporter api 2019-08-15 23:56:12 +00:00
core.go internal/telemetry: clean up the exporter api 2019-08-15 23:56:12 +00:00
metrics_test.go internal/telemetry/export/ocagent: correctly JSON marshal BucketOptionsExplicit 2019-11-22 06:42:13 +00:00
metrics.go internal/telemetry/export/ocagent: update usages of BucketOptions to use pointers 2019-11-22 08:00:28 +00:00
trace.go internal/telemetry: clean up the exporter api 2019-08-15 23:56:12 +00:00