Hi,
is it possible to create a custom metric using a floating value? It seems all metrics must be long. Is that right?
Regards
Thomas
Hi Thomas,
We confirm your understanding is right, we currently do not support float values for custom metrics as metric browser shows only int , long data value as of now. Hope that clarifies.
Please be sure that we already have future request to support float metrics but there is no ETA for target fix version as of now, What i could suggest is modify script that is reporting float values as follows:
actual value * 100 and show this is the value and when you set any Health rule alert in condition section set the condition using custom expression as / 100 as such, so that you can monitor float as long values in metric browser and can use HR alerts by / 100 to get alert as per float value, Hope that information helps.
Regards,
Arun
thx for your fast reply.
I want to show the float value on a dashboard. For health rule this is fine but I cannot use it for a dashboard because the value is wrong and I cannot change the value on the dashboard.
Regards,
Thomas
Hi Thomas,
We understood your concern, as of now float values are not supported in UI and as we statd earlier feature request for this is in roadmap, appreciate your cooperation with us while the feature is being worked on