8

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?

tashuhka
  • 5,028
  • 4
  • 45
  • 64

2 Answers2

11

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 support@datadoghq.com if you run into any other issues in the future.

Andrew Vaughan
  • 279
  • 2
  • 5
0

You can update metric unit to correct type on Metric details sidepanel of Metrics Summary page: https://docs.datadoghq.com/metrics/summary/#metric-unit.

Screenshot of part of Metric details sidepanel

You can get to Metrics Summary page by opening edit tab of your dashboard, clicking on your metric, and clicking on Edit in Metrics Summary link.

Link to Edit in Metrics Summary

Yerke
  • 2,071
  • 2
  • 25
  • 23