Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Datadog: Use a tag value in an alias

Tags:

statsd

datadog

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}"?

like image 401
AndrewTet Avatar asked Sep 13 '19 06:09

AndrewTet


People also ask

How do Datadog tags work?

Through integration inheritance, Datadog automatically organizes your infrastructure by collecting all of the tags from your cloud providers, container platforms, or configuration management tools. You can immediately see your hosts and gain insight into how each part of your infrastructure fits together.

What are Datadog tags?

Use the full Datadog platform Tags are essential for aggregating and contextualizing monitoring data across your infrastructure; they enable you to monitor your entire system at a high level, drill down to individual services for more comprehensive analysis, and easily correlate data from every application component.

Can Datadog pull metrics?

Visualizing your data In addition to pulling in application metrics, Datadog provides a service check that monitors the health of your Prometheus endpoint.

Is Datadog case sensitive?

Short answer: Unfortunately, no. The log search is not case-sensitive.


1 Answers

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.

like image 159
Josh Avatar answered Sep 28 '22 05:09

Josh