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

Write metric filters provided as an env variable to the MCAC config file #156

Merged
merged 1 commit into from
Oct 21, 2021

Conversation

adejanovski
Copy link
Contributor

Requires this MCAC PR to be merged and v0.3.0 to be released.

The env variable used to provide the metric filters is named METRIC_FILTERS and should be provided in the following format: "deny:org.apache.cassandra.metrics.table allow:org.apache.cassandra.metrics.table.test1 allow:org.apache.cassandra.metrics.table.test2"

This PR is part of the work described here: https://k8ssandra.atlassian.net/browse/K8SSAND-874

Copy link
Contributor

@emerkle826 emerkle826 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, just need to update the Dockerfile_oss for Cassandra 3.11

@@ -2,7 +2,7 @@ ARG CASSANDRA_VERSION=4.0.1

FROM --platform=$BUILDPLATFORM maven:3.6.3-jdk-8-slim as builder

ARG METRICS_COLLECTOR_VERSION=0.2.0
ARG METRICS_COLLECTOR_VERSION=0.3.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gotcha, thanks!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done 👍

@adejanovski
Copy link
Contributor Author

The 0.3.0 release of MCAC is out now. I'll merge this PR as I successfully tested the upcoming filters on K8ssandra with 500 tables without any scraping interruption nor dropped metrics.

@adejanovski adejanovski merged commit 1eb99aa into k8ssandra:master Oct 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants