Datadog is a monitoring service for IT and DevOps.
Questions tagged [datadog]
1053 questions
23
votes
4 answers
Replace no data by zeros in datadog graphs
There does not seem to be a way to replace no data by zeros when using formulas in datadog.
I've tried fill zero but it doesn't seem to work
I would simply like my dd agent monitor to display 0 instead of no data when it is down

PhilipGarnero
- 2,399
- 4
- 17
- 24
21
votes
1 answer
query metrics on tag value with regex in datadog
I want to filter metrics on tag value with a regex. I can do it in Prometheus but I could not find an equivalent way in Datadog.
For example, to select the following metric whose status tag value starts with 2, I can use the query…

Muatik
- 4,011
- 10
- 39
- 72
18
votes
2 answers
Datadog export logs more than 5,000
I want to export more than 5000 logs in csv from datadog, is there any configuration I need to do in datadog so that I can download 10k,20k logs at a time.
I also checked on official web page logs explorer but it doesn't helped out.

bhaginath
- 456
- 4
- 13
17
votes
2 answers
DataDog Log Search empty string facet
On DataDog log search, I want to search for logs with empty string for a specific facet, e.g. logs with userId is empty. @userId:'' , @userId:"", -@userId:* non worked.

hevi
- 2,432
- 1
- 32
- 51
16
votes
2 answers
How to search Datadog logs by Attribute
Question about searching logs in Datadog.
Search works on regular strings in the CONTENT portion of the log. However, if JSON is passed to the CONTENT portion, the JSON elements are automatically parsed into Attributes. But the Attributes are NOT…

Pete Lunenfeld
- 1,557
- 3
- 19
- 32
15
votes
1 answer
What is the difference between the count and the gauge metric type in DataDog?
What is the difference between the count and the gauge metric types in DataDog? Or rather, when should I prefer one over the other? The definitions from their website don't help me much:
Count:
The COUNT metric submission type represents the total…

Bastian Venthur
- 12,515
- 5
- 44
- 78
15
votes
4 answers
Does Datadog support graphs with 2 Y-axis with different scales?
Like this one:
[
If yes, how do I create one?
From all documentation I've read so far, it doesn't seem to support it. But I don't see anyone confirming that it's not supported anywhere.

Kashyap
- 15,354
- 13
- 64
- 103
15
votes
3 answers
Spring boot metrics + datadog
Does anyone know how to integrate Spring boot metrics with datadog?
Datadog is a cloud-scale monitoring service for IT.
It allows users to easily visualice their data using a lot of charts and graphs.
I have a spring boot application that is using…

jfcorugedo
- 9,793
- 8
- 39
- 47
13
votes
4 answers
How to setup Serilog with Azure Functions v4 correctly?
I want to use Serilog in an Azure Function v4 (.net 6) (the logs should be sent to Datadog). For this I have installed the following nuget packages:

mikehachen
- 256
- 1
- 2
- 8
12
votes
1 answer
Datadog: Use a tag value in an alias
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…

AndrewTet
- 1,172
- 8
- 20
12
votes
1 answer
How to log output from Airflow DAG for debugging?
I am writing a Airflow DAG and having some problems with a function. I am trying to debug by printing data to stdout and using the logging library.
My example DAG is:
from datetime import timedelta
import airflow
import logging
…

Andy Shinn
- 26,561
- 8
- 75
- 93
11
votes
1 answer
How to calculate duration between logs in Datadog?
Splunk has transaction command which can produce duration between logs grouped by id:
2020-01-01 12:12 event=START id=1
2020-01-01 12:13 event=STOP id=1
as it is described on
Query for calculating duration between two different logs in…

Justinas Jakavonis
- 8,220
- 10
- 69
- 114
11
votes
1 answer
Error: UPGRADE FAILED: failed to create resource: ConfigMap in version "v1" cannot be handled as a ConfigMap
Per this spec on github and these helm instructions I'm trying to upgrade our Helm installation of datadog using the following syntax:
helm upgrade datadog-monitoring --set…

NealR
- 10,189
- 61
- 159
- 299
10
votes
0 answers
Datadog: METRIC.as_rate() vs. per_second(METRIC)
I'm trying to figure out the difference between the in-application modifier as_rate() and the rollup function per_second().
I want a table with two columns: the left column shows the total number of events submitted to a Distribution (in…

David Garfinkle
- 101
- 4
10
votes
4 answers
datadog agent not reachable from inside docker container
I installed dd-agent on Amazon linux ec2. If I run my python script directly on the host machine (I used the SDK named "dogstatsd-python"), all the metrics can be sent to datadog (I logged in to datadoghq.com and saw the metrics there).
the script…

sheny35
- 181
- 3
- 9