go-kit/kit

Using prometheus collector MustRegister in New{Counter,Gauge} and possible panic

Open

#937 aperta il 14 nov 2019

Vedi su GitHub
 (7 commenti) (0 reazioni) (0 assegnatari)Go (2446 fork)batch import
bughelp wantednewbie friendly

Metriche repository

Star
 (27.422 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Thanks for the wonderful product! I think it would be fair to point the limitations of calling New in the documentation, since calling New again calls panic.

Guida contributor