Skip to content

confusing behaviour of global flag --prometheus #10

@jelmer

Description

@jelmer

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions