We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
flag defined here https://github.com/prometheus/client_golang/blob/679eb0d315d3bad8963927751537034476a52e25/examples/random/main.go #L32-L38
used before calling flag.Parse() (derefencing from pointer), default value all the time
flag.Parse()
client_golang/examples/random/main.go
Lines 50 to 63 in 679eb0d
calling flag.Parse() (updates the flag value)
Lines 70 to 73 in 679eb0d
The text was updated successfully, but these errors were encountered:
Move flags and metrics into main()
f78dc19
Fixes #933. Signed-off-by: beorn7 <beorn@grafana.com>
Good catch. I simply moved everything into main() in #935.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
flag defined here
https://github.com/prometheus/client_golang/blob/679eb0d315d3bad8963927751537034476a52e25/examples/random/main.go
#L32-L38
used before calling
flag.Parse()
(derefencing from pointer), default value all the timeclient_golang/examples/random/main.go
Lines 50 to 63 in 679eb0d
calling
flag.Parse()
(updates the flag value)client_golang/examples/random/main.go
Lines 70 to 73 in 679eb0d
The text was updated successfully, but these errors were encountered: