31 Mar 2022
03:41 PM
- last edited on
01 Apr 2022
08:55 AM
by
MaciejNeumann
Hi ,
I am trying to pull the metrics using Dynatrace v2 API "/metrics/query" and getting null values in response. Can somebody please tell me reason for the same?
Regards,
Heramb
Solved! Go to Solution.
The most likely answer is that for that timestamp there was no value reported. For example if you're asking for a week's worth of data in 10 minute intervals and for some of those no metric was reported we will report that as null for that timestamp and the values that do have data will have the proper number.
Here's an example where I had an extension running only for a period of time but I asked for data for a period where it was and was not running. It shows null instead of something like 0 because 0 is not the same as null.