Skip to content

Commit

Permalink
Align example-configs to naming changes of #852
Browse files Browse the repository at this point in the history
Signed-off-by: Ralph Weires <[email protected]>
  • Loading branch information
s-rwe committed Oct 23, 2023
1 parent 89275ac commit 6b1f660
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions example_configs/activemq.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
lowercaseOutputName: true
lowercaseOutputLabelNames: true
blacklistObjectNames:
excludeObjectNames:
- "org.apache.activemq:clientId=*,*"
whitelistObjectNames:
includeObjectNames:
- "org.apache.activemq:destinationType=Queue,*"
- "org.apache.activemq:destinationType=Topic,*"
- "org.apache.activemq:type=Broker,brokerName=*"
Expand Down
4 changes: 2 additions & 2 deletions example_configs/cassandra.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
lowercaseOutputLabelNames: true
lowercaseOutputName: true
whitelistObjectNames: ["org.apache.cassandra.metrics:*"]
includeObjectNames: ["org.apache.cassandra.metrics:*"]
# ColumnFamily is an alias for Table metrics
blacklistObjectNames: ["org.apache.cassandra.metrics:type=ColumnFamily,*"]
excludeObjectNames: ["org.apache.cassandra.metrics:type=ColumnFamily,*"]
rules:
# Generic gauges with 0-2 labels
- pattern: org.apache.cassandra.metrics<type=(\S*)(?:, ((?!scope)\S*)=(\S*))?(?:, scope=(\S*))?, name=(\S*)><>Value
Expand Down
4 changes: 2 additions & 2 deletions example_configs/tomcat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
---
lowercaseOutputLabelNames: true
lowercaseOutputName: true
whitelistObjectNames: ["java.lang:type=OperatingSystem", "Catalina:*"]
blacklistObjectNames: []
includeObjectNames: ["java.lang:type=OperatingSystem", "Catalina:*"]
excludeObjectNames: []
rules:
- pattern: 'Catalina<type=Server><>serverInfo: (.+)'
name: tomcat_serverinfo
Expand Down
2 changes: 1 addition & 1 deletion example_configs/weblogic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
attrNameSnakeCase: true
lowercaseOutputName: true
lowercaseOutputLabelNames: true
whitelistObjectNames:
includeObjectNames:
- "com.bea:Name=*,Type=ServerRuntime"
- "com.bea:ServerRuntime=*,Type=ApplicationRuntime,*"
- "com.bea:ServerRuntime=*,Type=JDBCDataSourceRuntime,*"
Expand Down
8 changes: 4 additions & 4 deletions example_configs/wildfly-10.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
lowercaseOutputName: true
lowercaseOutputLabelNames: true
whitelistObjectNames:
# Whitelist objects to be collected, for performance reason
includeObjectNames:
# Include objects to be collected, for performance reason
# see https://github.com/prometheus/jmx_exporter/issues/246#issuecomment-367573931
# Each object in the rules below has to be added to whitelistObjectNames too !
# note that rules use regex (like "foo.*", whereas the whitelist use globbing expressions (like "foo*")
# Each object in the rules below has to be added to includeObjectNames too !
# note that rules use regex (like "foo.*", whereas the includes use globbing expressions (like "foo*")
- "jboss.as:subsystem=messaging-activemq,server=*,jms-queue=*"
- "jboss.as:subsystem=messaging-activemq,server=*,jms-topic=*"
- "jboss.as:subsystem=datasources,data-source=*,statistics=*"
Expand Down

0 comments on commit 6b1f660

Please sign in to comment.