We’re currently using the Datadog metrics reporter. It’s working fine but we wanted to filter the number of metrics it sends to Graylog. I tried doing that by adding the following line to Graylog config:
metrics_datadog_include_metrics = org.graylog2.shared.journal.KafkaJournal.uncommittedMessages
However, when I added this line and restarted the Graylog server, the filtering did not kick in. All Graylog metrics were sent to Datadog, while I expected only
uncommittedMessages to be sent. I tried this one one more host with the same result.
I’ve only 2 other metrics related configuration:
metrics_datadog_enabled = true metrics_datadog_transport = UDP
I am using the follwing JAR which does seem to contain the code required for metric filtering: https://github.com/graylog-labs/graylog-plugin-metrics-reporter/releases/download/2.4.0-beta.3/metrics-reporter-datadog-2.4.0-beta.3.jar
Any input on what could be going wrong is greatly appreciated.