1
0
mirror of https://github.com/golang/go synced 2024-10-01 12:38:31 -06:00
go/internal/telemetry/export
Nathan Dias 2d3bb8ce05 internal/telemetry/export/ocagent: correctly JSON marshal BucketOptionsExplicit
This change adds a custom MarshalJSON method to BucketOptionsExplicit for
marshalling parity with protobuf/jsonpb. This allows the OpenCensus service
to correctly decode a distribution's BucketOptions.

Updates golang/go#33819

Change-Id: Ia9dc868e1cbfc32a956f6a276dfd1591f7d4d31a
Reviewed-on: https://go-review.googlesource.com/c/tools/+/208398
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 06:42:13 +00:00
..
ocagent internal/telemetry/export/ocagent: correctly JSON marshal BucketOptionsExplicit 2019-11-22 06:42:13 +00:00
prometheus internal/telemetry: add the ability to flush telemetry data 2019-08-21 16:29:56 +00:00
export.go internal/telemetry: add the ability to flush telemetry data 2019-08-21 16:29:56 +00:00
log.go internal/telemetry: add the ability to flush telemetry data 2019-08-21 16:29:56 +00:00
multi.go internal/telemetry: add the ability to flush telemetry data 2019-08-21 16:29:56 +00:00
null.go internal/telemetry: add the ability to flush telemetry data 2019-08-21 16:29:56 +00:00