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

Invalid metric name or label mcac_hints_hints_not_stored. #102

Open
zyxep opened this issue Feb 8, 2024 · 0 comments
Open

Invalid metric name or label mcac_hints_hints_not_stored. #102

zyxep opened this issue Feb 8, 2024 · 0 comments

Comments

@zyxep
Copy link

zyxep commented Feb 8, 2024

Hey Everyone,

On my 4.1 clusters I started to see this error:

invalid metric name or label names: {__name__="mcac_hints_hints_not_stored.10.10.10.10.7000_total", cluster="example", dc="DC2", instance="10.10.10.10", job="mcac", mcac="org.apache.cassandra.metrics.hints_service.hints_not_stored.10.10.10.10.7000", mcac_filtered="true", rack="RAC1"}

I managed to fix my scraping by adding this to the config:

     - source_labels: [ "mcac" ]
       regex: org\.apache\.cassandra\.metrics\.hints_service\.hints_not_stored\.([^\-]+)
       target_label: __name__
       replacement: mcac_hints_not_stored
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

No branches or pull requests

1 participant