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.
The global flag --prometheus appears to be ignored if it is specified before the "gnuplot" command. However, no error is given.
Specifying --prometheus after the gnuplot command (counter to the help) does work.