Open liuzheng1990 opened 2 years ago
:+1: So far all of our documentation is in the readme, and I think at least a small section describing what a registry is would be good to have there. We just start using a registry in examples right now without any indication as to what it is.
Hi guys. Thanks for providing this great library for making monitoring fun and easy in python. It's my Day 1 with this package. The README provided a very quick introduction but I was also puzzled at the following question:
This puzzle was gone after I checked out the source codes (which is very fun to read, thanks!) and realized that there's a global
REGISTRY
object. The server app takes a registry object which is by default the globalREGISTRY
, and eachCollector
object, in the__init__
method, also accepts aregistry
object, which by default is alsoREGISTRY
.I think it would be nice if there could be some API reference sections/pages. I'd be glad to contribute such a section, but would like to hear any comment from the community, like the necessity, proposed format, etc.
Cheers!