0

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"}
Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
user3428736
  • 864
  • 2
  • 13
  • 33

1 Answers1

0

Copy the whole value to QL " jvm_memory_max_bytes{area="heap",id="CMS Old Gen",instance="localhost:9090",job="myapp"}" and name it.

user3428736
  • 864
  • 2
  • 13
  • 33