raffis / renovate-metrics

Renovate prometheus metrics exporter
Apache License 2.0
6 stars 1 forks source link

panic: duplicate metrics collector registration attempted #29

Open jeff-cook opened 1 month ago

jeff-cook commented 1 month ago

I get the following error whenever I run renovate-metrics on a log file with more then 1 repo in it.

panic: duplicate metrics collector registration attempted

I have tried with and without

I have tried with v0.0.4, v0.0.5 and latest

Renovate version

I'm not sure what else to try.

I really look forward to using this tool.

Thanks

ced455 commented 1 month ago

Hello, I have the same issue. on my case it look like it happen when i run renovate on multiple repos.

If i split the log file for each repo then I don't get the error.

raffis commented 1 month ago

There was a fix by @Obito1903 in https://github.com/raffis/renovate-metrics/pull/27 which might resolve your problem. This was included in v0.0.6,