Skip to content
This repository was archived by the owner on May 13, 2025. It is now read-only.

Problem with WHITE_LIST_REGEX #87

@vijaynandwani

Description

@vijaynandwani

We are using jmx2graphite to export MBean metrics from our Ignite Cluster to Grafana. To filter out the number of metrics being exported, we are using WHITE_LIST_REGEX.

-javaagent:/opt/ignite/jmx2graphite-1.5.0-javaagent.jar=GRAPHITE_HOSTNAME=carbon.example.com,SERVICE_NAME=staging.ignite,GRAPHITE_PORT=30023,GRAPHITE_PROTOCOL=tcp,INTERVAL_IN_SEC=30,WHITE_LIST_REGEX=^.*java.lang.*$"

We are able to see the metrics in Grafana and here is the entry from /var/log/syslog

Jan 25 08:14:40 ignite-staging-0 service.sh[10830]: 21/01/25 08:14:40 INFO jmx2graphite.MetricsPipeline: Filtered out 12 metrics out of 28 after white/blacklisting

Now when we modify the WHITE_LIST_REGEX to filter type_Runtime path

-javaagent:/opt/ignite/jmx2graphite-1.5.0-javaagent.jar=GRAPHITE_HOSTNAME=carbon.example.com,SERVICE_NAME=staging.ignite,GRAPHITE_PORT=30023,GRAPHITE_PROTOCOL=tcp,INTERVAL_IN_SEC=30,WHITE_LIST_REGEX=^.*java.lang.type_Runtime.*$

we don't see the metrics for this path in Grafana. This is the entry from /var/log/syslog

Jan 25 09:19:59 ignite-staging-0 service.sh[12960]: 21/01/25 09:19:59 INFO jmx2graphite.MetricsPipeline: Filtered out 28 metrics out of 28 after white/blacklisting

Note: We are sure this path java.lang.type_Runtime exists because we were able to see its values in the first case.

Please help with this issue.
Thank you!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions