Prometheus监控AAMSV10 » config.yaml
1 |
---
|
---|---|
2 |
lowercaseOutputLabelNames: true |
3 |
lowercaseOutputName: true |
4 |
whitelistObjectNames: ["java.lang:type=OperatingSystem"] |
5 |
blacklistObjectNames: [] |
6 |
rules: |
7 |
- pattern: 'java.lang<type=OperatingSystem><>(committed_virtual_memory|free_physical_memory|free_swap_space|total_physical_memory|total_swap_space)_size:' |
8 |
name: os_$1_bytes |
9 |
type: GAUGE |
10 |
attrNameSnakeCase: true |
11 |
- pattern: 'java.lang<type=OperatingSystem><>((?!process_cpu_time)\w+):' |
12 |
name: os_$1 |
13 |
type: GAUGE |
14 |
attrNameSnakeCase: true |