Hello.
I need some help in getting how jvm_memory_pool_allocated_bytes_total
should be used.
I have EKS cluster which runs a few based JVM deployments.
Per my understanding jvm_memory_pool_allocated_bytes_total metric provides
the current total allocated mem usage by pool type.
To get the total JVM mem footprint I need to sum all of them.
Now to get it in Grafana
My Grafana query looks like
sum(jvm_memory_pool_allocated_bytes_total{instance=~"$instance",
service=~"$service", pool=~".*"}) by (instance)
The result I got doesn't make sense.
What I'm getting is
allocated 172.31.66.235:8084 5.071 TiB
Notice my JVM is started within docker using the following JVM args
ENTRYPOINT ["java", "-XX:+UnlockExperimentalVMOptions", "
XX:+UseCGroupMemoryLimitForHeap", "-jar", "my-jar-1.0.jar"]
Pls help me to figure out what I'm missing in my usage of the metric
--
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/cb2cb73c-eb6d-4e89-a11d-f3ef6e8f191d%40googlegroups.com.