Hi, I using Prometheus to collect Spring Boot service metrics in Java. But
I found a problem that data still exsit after pull, that made the instant
data is not correct.
Like at now there has one label like 'app_version{version=a} 100', then the
metrics updated, and add a new label value b, the metrics come to
'app_version{version=a} 50' and 'app_version{version=b} 50'; Then, label a
no longer update, and metrics come to 'app_version{version=b} 100'.
When I pull metrics form Spring Boot service, the metrics is
'app_version{version=a} 50' and 'app_version{version=b} 100'. But expect
data should be 'app_version{version=b} 100' only.
How could I fix this issue? Thanks.
--
You received this message because you are subscribed to the Google Groups
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/prometheus-users/31873740-2030-43ab-b905-d8f98570f647n%40googlegroups.com.