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

Add latency unit to Stackdriver metrics. #492

Merged
merged 1 commit into from
Oct 14, 2020

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