rules:
- pattern: 'java.lang:type=OperatingSystem,OpenFileDescriptorCount'
- pattern: 'java.lang:type=OperatingSystem,SystemLoadAverage'
- pattern: 'java.lang:type=OperatingSystem,SystemCPULoad'
- pattern: 'java.lang:type=OperatingSystem,ProcessCPULoad'
- pattern: 'java.lang:type=Memory,HeapMemoryUsage<used=(\w)>'
value: $1
- pattern: 'java.lang:type=Memory,NonHeapMemoryUsage<used=(\w)>'
value: $1
Hi all,Using JMX exporter and looking at config examples I am still having trouble with some rules. For example, with these rules:
rules:
- pattern: 'java.lang:type=OperatingSystem,OpenFileDescriptorCount'
- pattern: 'java.lang:type=OperatingSystem,SystemLoadAverage'
- pattern: 'java.lang:type=OperatingSystem,SystemCPULoad'
- pattern: 'java.lang:type=OperatingSystem,ProcessCPULoad'
I do get the FD count but not the rest. For memory usage, these work as I wanted:
- pattern: 'java.lang:type=Memory,HeapMemoryUsage<used=(\w)>'
value: $1
- pattern: 'java.lang:type=Memory,NonHeapMemoryUsage<used=(\w)>'
value: $1
Perhaps I was unclear -- what if I wanted to narrow the metrics down to only the ones I want?
--
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 prometheus-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/c29b7c13-ccda-43b5-9c41-71848e2bbbbc%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to promethe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/c29b7c13-ccda-43b5-9c41-71848e2bbbbc%40googlegroups.com.
I understand they are exposed but doesn't the JMX exporter config specifically provides for narrowing those down?
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/e85c842c-8480-4f95-96e3-c80295a326fb%40googlegroups.com.
Perhaps I was unclear -- what if I wanted to narrow the metrics down to only the ones I want?