-
Notifications
You must be signed in to change notification settings - Fork 61
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
Problem when pushing using golang client - invalid metric name #48
Comments
I’ve not looked at the Pusher package, but “foo-job” is invalid per the spec - minus sign is not allowed. |
I am trying out this project, and I am getting a similar error. Same code works with the prometheus push gateway.
|
I looked at the package; you need to call I filed prometheus/client_golang#824 for the inconsistency. |
Indeed, that fixes the error. |
Version: github.com/prometheus/client_golang v1.5.1
Code:
Error:
The text was updated successfully, but these errors were encountered: