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

Add arbitrary tag support via a CLI argument #9

Open
portertech opened this issue Feb 13, 2018 · 0 comments
Open

Add arbitrary tag support via a CLI argument #9

portertech opened this issue Feb 13, 2018 · 0 comments

Comments

@portertech
Copy link
Contributor

As a user, I would like to add arbitrary tags to the produced (outputted) metrics.

For example, a host tag using Sensu token substitution:

Sensu 1.x

sensu-prometheus-collector -tag host=:::name:::

Sensu 2.x

sensu-prometheus-collector -tag host={{ .ID }}
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

1 participant