Skip to content

error "*** was collected before with the same name and label values" #68

@marcolan018

Description

@marcolan018
An error has occurred during metrics collection:

300 error(s) occurred:
* collected metric collectd_PCHMonitor__User_BSOS1_SweepFramework_SweepQueue_AbandonedContentDeletionSweep_gauge gauge:<value:0 >  was collected before with the same name and label values
* collected metric collectd_PCHMonitor__CPU_gauge gauge:<value:150 >  was collected before with the same name and label values

When using collectd exporter v0.4.0, we run into above error. By searching in google, seems this error is due to duplicate metrics. We are aware the best option to resolve this problem is to remove the duplicate ones. But compared with this, with similar configuration, the metrics works well for Graphite Writer. Seems that means this exporter is not flexible enough.

We found a possible workaround here: prometheus/node_exporter#377 (comment). Not sure whether collectd exporter support this.

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