Search code examples
spring-bootdatadog

What is causing DataDog widgets to display http status code as N/A


My organization is setting up dashboards for our backend services and after performance testing that we ran, we have noticed that some API calls report http status N\A.

enter image description here

enter image description here

It is not very helpful, anyone seen something like that? Is that a configuration issue?


Solution

  • Sounds like some of your http.server.requests.count metric values do not have any status tag, so when you group by the status tag, those are being aggregaed with a value of n/a.

    If it is intentional/expected that this metric would have values without the status tag and you just want to ignored those metric values, then you can use the exclude_null() function to remove that tag grouping from your graph (docs here).

    If it is not intentional/expected that this metric would have values without the status tag, then you probably want to reach out to [email protected] to get that looked into.