Datadog: Use a tag value in an alias
Asked Answered
S

1

12

I have a timeseries graph in a time board that displays data for one metric that has multiple tags called "page". The graph has one line for each tag and I'm running functions on the values, so the query for my data is "ewma_5(avg:client.load_time{env:prod}) by {page}". This query means the tooltip values when I hover on the graph are things like "ewma_5(avg:client.load_time{env:prod})".

I want to know if there is anyway to use the alias function with the tag value in it, so something like "alias": "{page}"?

Strange answered 13/9, 2019 at 6:20 Comment(3)
Did you ever find an answer to this? I am struggling with the same thing (and this is very simple in Grafana, so I am surprised that it's not easy in Datadog!)Welcome
Unfortunately no, I've not found an answer yet.Strange
Good question. Same need here. There is a feature request to upvote somewhere?Sunbonnet
W
17

I asked DataDog support, and apparently as of January 2020 this is not possible, but is a feature request in their backlog. I know this is not a great answer to the question but if I hear that this changes, I will update my answer.

Welcome answered 17/1, 2020 at 17:12 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.