duplicate metrics collector registration attempted - in tests

91 views
Skip to first unread message

Alex Chaplianka

unread,
May 17, 2020, 8:04:41 AM5/17/20
to Prometheus Users
I have several that - each use promauto to register metrics 
And when I ran multiple tests one after the other, it fails on duplicate metrics

How should I handle this ? I tried unregistering but I still get the error:

prometheus.Unregister(...)
Reply all
Reply to author
Forward
0 new messages