-
Notifications
You must be signed in to change notification settings - Fork 154
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
how do i add custom labels? #8
Comments
Hi yosefy, it is currently not possible to do that in - job_name: 'grok'
static_configs:
- targets: ['localhost:9144']
labels: { 'x': 'y' } If you want something more complex (like dynamically rewriting labels depending on their values), check out Prometheus' Hope this helps |
Hi, I just released labels:
x: 'y' |
cool!
thanks
…On Tue, Jan 3, 2017 at 11:03 PM, Fabian Stäber ***@***.***> wrote:
Hi, I just released v0.2.0, which uses templates for defining labels.
With the new version, defining a constant label for grok_exporter should be
easily possible like this:
labels:
x: 'y'
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#8 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AMVy7fX7hom-iFkftl6ywzavwwuTfqvTks5rOreagaJpZM4K_Igz>
.
|
Just released |
i want to add just x="y"
no connection to grok fields
may i?
thanks
The text was updated successfully, but these errors were encountered: