-
Notifications
You must be signed in to change notification settings - Fork 801
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
real reference for API #1021
Comments
Thanks for reaching out. That's true; we can add more complicated real-life examples. However, the package is also used by a significant number of open-source Python applications that are publicly available. Please let us know if you have anything particular you would like to see in the docs. |
Yes, I would like to see API docs as well. Examples are fine, but you need to document the API. For example, creating a |
Another vote for publishing a full API documentation (even just an auto-generated one). More simply, I also suggest adding to the main "Getting Started" page links to a handful of those publicly available open-source applications using this API as real-world examples. The main Prometheus documentation includes links to many examples, but does not differentiate what language they are written in (most are in Go), making it difficult to find relevant Python-based examples. |
my current use case would be that i'm looking at scripts here: https://github.com/prometheus-community/node-exporter-textfile-collector-scripts and they use functions and classes that are not mentioned in the examples. a complete inventory of the API would enable me to find what i need to solve my problems w/o reading the source code. |
this is like a getting start hello world example
is there like a real API ref for the classes etc..
The text was updated successfully, but these errors were encountered: