You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to force the labels to be in String format?
{
"id": 1655371,
"value": 1.0338218390804599
}
This becomes: my_metric{id="1.655371e+06"} 1.0338218390804599
When I would like: my_metric{id="1655371"} 1.0338218390804599
Is there a way to force the label not to be in scientific notation?
The text was updated successfully, but these errors were encountered:
ThomasDalla
changed the title
json_exporter converts string labels that are numerical to float64
Force a label value not to be in scientific notation
Mar 9, 2025
Is there a way to force the labels to be in String format?
This becomes:
my_metric{id="1.655371e+06"} 1.0338218390804599
When I would like:
my_metric{id="1655371"} 1.0338218390804599
Is there a way to force the label not to be in scientific notation?
The text was updated successfully, but these errors were encountered: