I'm trying to display this datadog query in milliseconds on my statuspage account:
avg:trace.http.request.duration{env:production}
In datadog the default unit for that metric is set to milliseconds, and I can't figure out how to specify a unit in the query. When I view the metric in datadog it displays in milliseconds.
But on my status page it's always in seconds
Hello Skye,
This is Jesse from the Statuspage support team. Welcome to the community and thanks for your question around your system metrics showing in seconds. It looks like you have everything set up correctly in datadog according to your pictures but maybe there is something strange going on.
When you go to edit the metric in Statuspage, are you able to change your scale at all there? Do you also have any screen captures of what you are expecting the metric to look like as a comparison to what you have as that would be very useful to seeing what needs to be changed.
Thanks for your time!
Regards,
Jesse
Hi!
Thanks for getting back so quick :)
I changed my metric at https://glassfrog.statuspage.io so now it looks like this:
which basically gets me what I need. But it would look a lot cuter if it was in milliseconds and looked like the graph you get when you click "View this metric with Datadog".
FYI, I think there does seem to be something weird about my datadog metric. When I look at the Metadata Unit it's in seconds, but the graph displays in milliseconds.
Hopefully you can help me, cool if you can't, and thank you.
- Skye
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Skye,
I like the formatting change you made to make it appear correctly. I do find that very strange that the graph in DataDog is formatted in miliseconds but the trace is in seconds. I think this might be something you want to bring to DataDog's attention as my guess is that we are taking what the trace is saying.
Doing a quick search, it seems that this is related to the Metadata, which can be edited. This article mentions that you can edit it either in the metric summary page or the API: https://docs.datadoghq.com/metrics/summary/#metrics-metadata
Hopefully that helps get you in the right direction!
Regards,
Jesse
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.