If I use jvm_memory_max_bytes it is automatically feeding the data, but I need to split up the required one to display. How can I fetch an ID with a particular value to add in a Grafana query?
jvm_memory_max_bytes{area="heap", id="CMS Old Gen", instance="localhost:9090", job="myapp"}
jvm_memory_max_bytes{area="heap", id="Par Eden Space", instance="localhost:9090", job="myapp"}