Skip to content
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

confusing behaviour of global flag --prometheus #10

Open
jelmer opened this issue Jan 2, 2020 · 1 comment
Open

confusing behaviour of global flag --prometheus #10

jelmer opened this issue Jan 2, 2020 · 1 comment

Comments

@jelmer
Copy link
Contributor

jelmer commented Jan 2, 2020

The global flag --prometheus appears to be ignored if it is specified before the "gnuplot" command. However, no error is given.

  % ~/go/bin/styx --prometheus http://somehostname:9090/prometheus/ gnuplot merge_proposal_count
   2020/01/02 17:25:21 Get http://localhost:9090/api/v1/query_range?end=1577985921&query=merge_proposal_count&start=1577982321&step=14: dial tcp [::1]:9090: connect: connection refused

Specifying --prometheus after the gnuplot command (counter to the help) does work.

@metalmatze
Copy link
Contributor

AFAIK this is a limitation of the CLI library used. Updating the dependency might help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants