Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Modify scale of Datadog metric

Tags:

time

metrics

I have a time series presenting time values like this one:

enter image description here

I want to change the y-axis to represent hours instead of milliseconds, i.e. divide by 3600. Any idea how to do it?

like image 810
tashuhka Avatar asked Dec 19 '22 19:12

tashuhka


1 Answers

This can be achieved in two ways.

If you only want this logic to applied on this one graph, you can divide metric either using the UI editor and clicking advanced or using the JSON editor:

UI Editor: http://cl.ly/1c0K2O3P1E2K

Or JSON editor: https://help.datadoghq.com/hc/en-us/articles/203764925-How-do-I-use-arithmetic-for-my-time-series-data-

Alternatively, you can use the Metric Summary page to edit this metric's metadata and alter this metric's unit throughout the application as seen here: http://cl.ly/2x0Z290w2I3V

https://app.datadoghq.com/metric/summary

Hope this helps. Also, you can reach out to [email protected] if you run into any other issues in the future.

like image 132
Andrew Vaughan Avatar answered Mar 18 '23 00:03

Andrew Vaughan