Skip to content
This repository was archived by the owner on Nov 5, 2021. It is now read-only.

Add latency unit to Stackdriver metrics.#492

Merged
manugarg merged 1 commit intomasterfrom
63729A23134379909BFCA3AC3C378B48
Oct 14, 2020
Merged

Add latency unit to Stackdriver metrics.#492
manugarg merged 1 commit intomasterfrom
63729A23134379909BFCA3AC3C378B48

Conversation

@manugarg
Copy link
Contributor

= Add a new field "LatencyUnit" to EventMetrics. Probes will update this field before exporting metrics to surfacers.

= In Stackdriver surfacer, add units to timeseries before exporting them. Note that "unit" is not added if metric descriptors are auto-created (by creating timeseries), therefore we have to explicitly create metric descriptors before exporting timeseries.

Fixes:
#349
PiperOrigin-RevId: 337036189

= Add a new field "LatencyUnit" to EventMetrics. Probes will update this field before exporting metrics to surfacers.

= In Stackdriver surfacer, add units to timeseries before exporting them. Note that "unit" is not added if metric descriptors are auto-created (by creating timeseries), therefore we have to explicitly create metric descriptors before exporting timeseries.

Fixes:
#349
PiperOrigin-RevId: 337036189
@manugarg manugarg merged commit 5bb1af1 into master Oct 14, 2020
@manugarg manugarg deleted the 63729A23134379909BFCA3AC3C378B48 branch October 14, 2020 16:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant