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

Grafana dashboards job selector #2404

Closed
tivvit opened this issue Jul 23, 2020 · 2 comments
Closed

Grafana dashboards job selector #2404

tivvit opened this issue Jul 23, 2020 · 2 comments

Comments

@tivvit
Copy link
Contributor

tivvit commented Jul 23, 2020

Hi I am trying to use dashboards provided in https://github.com/grafana/loki/tree/master/production/loki-mixin

I am a bit confused about the job label (https://github.com/grafana/loki/blob/master/production/loki-mixin/dashboards.libsonnet#L27). How do you create it? I can imagine that you are using relabeling or creating jobs Prometheus definitions dynamically with deployments.

Connected to #678

@cyriltovena
Copy link
Contributor

That's correct at Grafana Labs we use job=namespace/container via relabelling.

There's effort to improve the usability of those dashboard see #1978.

@tivvit
Copy link
Contributor Author

tivvit commented Jul 26, 2020

thanks for the info. I will close this and I will follow the #1978

@tivvit tivvit closed this as completed Jul 26, 2020
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

2 participants