Skip to content

Commit

Permalink
Add JMX Exporter configuration for Presto/Trino metrics (#921)
Browse files Browse the repository at this point in the history
Signed-off-by: kedia,Akanksha <akedia@visa.com>
  • Loading branch information
Akanksha-kedia committed Feb 26, 2024
1 parent 57f94ca commit 30112c9
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions example_configs/presto.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
startDelaySeconds: 0
ssl: false
lowercaseOutputName: false
lowercaseOutputLabelNames: false
includeObjectNames: ["java.lang:type=Threading"]
autoExcludeObjectNameAttributes: true
excludeObjectNameAttributes:
"java.lang:type=OperatingSystem":
- "ObjectName"
"java.lang:type=Runtime":
- "ClassPath"
- "SystemProperties"
rules:
- pattern: 'java\.lang<type=Threading><(.*)>ThreadCount: (.*)'
name: java_lang_Threading_ThreadCount
value: '$2'
help: 'ThreadCount (java.lang<type=Threading><>ThreadCount)'
type: UNTYPED

0 comments on commit 30112c9

Please sign in to comment.