Skip to content

Commit 30112c9

Browse files
Add JMX Exporter configuration for Presto/Trino metrics (#921)
Signed-off-by: kedia,Akanksha <[email protected]>
1 parent 57f94ca commit 30112c9

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

example_configs/presto.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
startDelaySeconds: 0
3+
ssl: false
4+
lowercaseOutputName: false
5+
lowercaseOutputLabelNames: false
6+
includeObjectNames: ["java.lang:type=Threading"]
7+
autoExcludeObjectNameAttributes: true
8+
excludeObjectNameAttributes:
9+
"java.lang:type=OperatingSystem":
10+
- "ObjectName"
11+
"java.lang:type=Runtime":
12+
- "ClassPath"
13+
- "SystemProperties"
14+
rules:
15+
- pattern: 'java\.lang<type=Threading><(.*)>ThreadCount: (.*)'
16+
name: java_lang_Threading_ThreadCount
17+
value: '$2'
18+
help: 'ThreadCount (java.lang<type=Threading><>ThreadCount)'
19+
type: UNTYPED

0 commit comments

Comments
 (0)