1
0
mirror of https://github.com/golang/go synced 2024-11-19 03:04:42 -07:00
go/internal/telemetry/export
Nathan Dias e4d7c6f25b internal/telemetry/export/ocagent: convert Histogram metrics
This change adds support for converting HistogramFloat64Data and
HistogramInt64Data to *wire.Metric. Timestamps are not attached
as they are not yet available.

What works:
* convertMetric will now convert HistogramInt64Data and
HistogramFloat64Data to *wire.Metric.

What does not work yet:
* StartTime and EndTime will not be attached to timeseries and
points.
* MetricDescriptors will not have a unit attached.
* No labels will be attached to timeseries.
* Distributions will not have SumOfSquaredDeviation attached.

Updates golang/go#33819

Change-Id: Iee52ab751542ee1ade07ef32120de853b41fd27b
Reviewed-on: https://go-review.googlesource.com/c/tools/+/200538
Run-TryBot: Emmanuel Odeke <emm.odeke@gmail.com>
Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
2019-10-17 16:38:57 +00:00
..
ocagent internal/telemetry/export/ocagent: convert Histogram metrics 2019-10-17 16:38:57 +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