-
Notifications
You must be signed in to change notification settings - Fork 792
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
how to add labels with pushgateway example? #99
Comments
Same problem with Counter |
Ok, the documentation needs updating. I got labels working like this: from prometheus_client import Counter |
yes but how do we set the value of the metrics then? but after adding labelnames it becomes and doesnt have set method anymore |
Usage questions are best asked on https://groups.google.com/forum/#!aboutgroup/prometheus-users |
g.labels says:
object has no attribute 'labels'
thanks
The text was updated successfully, but these errors were encountered: