cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Does the "dynatrace_ingest" Utility Require lead Zero for Values >0 and < 1

crabbylou
Helper

Trying to help out a team who have custom metrics extension ingestion via the  "dynatrace_ingest" utility. They do not seem to get all values. 

I think I may see what is occurring. For numeric values > 0 and < 1, they format their data without a lead zero.
So, they try to feed in ".1" as opposed to "0.1".
I have not tried this on a test server yet, but does "dynatrace_ingest" require a lead 0 for values > 0 but < 1??
To me the latter is just good programming style.
Any advice is appreciated.

Lou 

1 REPLY 1

radek_jasinski
DynaMight Guru
DynaMight Guru

Hi, 

Yes, I’ve seen similar issues before. Confirmed: the dynatrace requires full numeric formatting. If your team is sending float values like .1 instead of 0.1, that’s very likely the cause of the missing metrics.

The underlying ingestion mechanism only accepts numbers that follow standard numeric syntax. That means:

  • Valid: 0.1
  • Invalid: .1

This is backed by the official Dynatrace “Metric ingestion protocol” documentation, which states that gauge values must be valid numbers (e.g., 45, 17.1, etc.) and doesn’t allow for “incomplete” float formats.

https://docs.dynatrace.com/docs/ingest-from/extend-dynatrace/extend-metrics/reference/metric-ingesti... 

Radek

Have a nice day!

Featured Posts