Skip to content

Allow pipe input #17

Description

@fxnn

Currently, sensu-prometheus-collector only accepts Prometheus text via an URL. However, in certain situations it is helpful to be able to pre-process the raw Prometheus data (e.g. via grep).

Therefore, for the flexibility of the tool, it would be great to be able to just pipe-in the Prometheus text.

(In my situation, an errorneous tool outputs a duplicate HELP line, which the underlying parser seems to reject. Would be easy to filter that via grep.)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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