Skip to content

Invalid metric name or label mcac_hints_hints_not_stored. #102

@zyxep

Description

@zyxep

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

Metadata

Metadata

Assignees

No one assigned

    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