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
I was trying to add the labels for JVM metrics but not sure how to add it.
The original metrics output look like this by using code.
# HELP jvm_memory_bytes_max Max (bytes) of a given JVM memory area.
# TYPE jvm_memory_bytes_max gauge
jvm_memory_bytes_max{area="heap",} 2.863661056E9
jvm_memory_bytes_max{area="nonheap",} -1.0
But I would like to see something like this (i.e: service="XXXX",area="XXXX")
# HELP jvm_memory_bytes_max Max (bytes) of a given JVM memory area.
# TYPE jvm_memory_bytes_max gauge
jvm_memory_bytes_max{area="heap",service="XXXX",area="XXXX"} 2.863661056E9
jvm_memory_bytes_max{area="nonheap",service="XXXX",area="XXXX"} -1.0
The text was updated successfully, but these errors were encountered:
I was trying to add the labels for JVM metrics but not sure how to add it.
The original metrics output look like this by using code.
But I would like to see something like this (i.e: service="XXXX",area="XXXX")
The text was updated successfully, but these errors were encountered: