ncabatoff / script-exporter

Prometheus exporter to invoke scripts and parse their output as metrics.
MIT License
37 stars 20 forks source link

collected metric was collected before #15

Closed barebu closed 4 years ago

barebu commented 5 years ago

Hi I call a script that displays several values. But periodically returns 500 error and such a message.

An error has occurred during metrics gathering:

9 error(s) occurred:
* collected metric test_1 untyped:<value:886 >  was collected before with the same name and label values
* collected metric test_2 untyped:<value:45.799999999999955 >  was collected before with the same name and label values
* collected metric test_3 untyped:<value:329.0999999999999 >  was collected before with the same name and label values
* collected metric test_4 untyped:<value:243.59999999999985 >  was collected before with the same name and label values
* collected metric test_5  untyped:<value:22 >  was collected before with the same name and label values
* collected metric test_6 untyped:<value:24.9 >  was collected before with the same name and label values
* collected metric test_7 untyped:<value:206.74999999999972 >  was collected before with the same name and label values
* collected metric test_8 untyped:<value:29 >  was collected before with the same name and label values
* collected metric test_9  untyped:<value:140 >  was collected before with the same name and label values

Please tell me what this means and how you can solve it.

barebu commented 4 years ago

Find way - there was some metrics with same name