Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Align example-configs to naming changes of #852 #882

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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