1
0
mirror of https://github.com/golang/go synced 2024-10-01 06:28:35 -06:00
go/internal/telemetry
Nathan Dias be03d4f470 internal/telemetry/export/ocagent: attach timestamps to metrics
This change attaches start timestamps to timeseries and end
timestamps to the points in each timeseries. Int64Data,
Float64Data, HistogramInt64Data, and HistogramFloat64Data
have also had an EndTime field added to keep track of the last
time the metric was updated.

What works:
* Start and end timestamps will now be attached to timeseries.

What does not work yet:
* 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: I692e1676bb1e31de26c1f799b96428fc9a55d6c7
Reviewed-on: https://go-review.googlesource.com/c/tools/+/203060
Run-TryBot: Emmanuel Odeke <emm.odeke@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
2019-10-24 07:31:07 +00:00
..
export internal/telemetry/export/ocagent: attach timestamps to metrics 2019-10-24 07:31:07 +00:00
log internal/telemetry: clean up the exporter api 2019-08-15 23:56:12 +00:00
metric internal/telemetry/export/ocagent: attach timestamps to metrics 2019-10-24 07:31:07 +00:00
stats internal/telemetry: modify *Subscriber to take timeAt 2019-10-11 20:42:57 +00:00
tag all: fix more typos 2019-09-11 15:13:14 +00:00
trace internal/telemetry: clean up the exporter api 2019-08-15 23:56:12 +00:00
unit internal/telemetry: extract units to their own package 2019-08-15 21:28:32 +00:00
context.go internal/telemetry: clean up the exporter api 2019-08-15 23:56:12 +00:00
doc.go internal/lsp: split the telemetry library out 2019-08-15 21:28:02 +00:00
event.go internal/lsp: add additional information when logging errors 2019-08-26 18:41:59 +00:00
id.go internal/telemetry: clean up the exporter api 2019-08-15 23:56:12 +00:00
metric.go internal/telemetry: clean up the exporter api 2019-08-15 23:56:12 +00:00
tag.go internal/telemetry: clean up the exporter api 2019-08-15 23:56:12 +00:00
trace.go internal/telemetry: clean up the exporter api 2019-08-15 23:56:12 +00:00