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

[mixin] Bloom dashboards are not using SSD job #15881

Open
lindeskar opened this issue Jan 22, 2025 · 0 comments
Open

[mixin] Bloom dashboards are not using SSD job #15881

lindeskar opened this issue Jan 22, 2025 · 0 comments

Comments

@lindeskar
Copy link
Contributor

Describe the bug

The rendered "Bloom Build" and "Bloom Gateway" dashboards in loki-mixin-compiled-ssd have job label values like:

  • $namespace/bloom-planner
  • $namespace/bloom-builder
  • $namespace/bloom-gateway
  • $namespace/index-gateway

When they should be something like these to support the SSD deployment mode:

  • ($namespace)/(loki.*|enterprise-logs)-backend
  • ($namespace)/(loki.*|enterprise-logs)-read

This leads to "No data" in the dashboards when following the standard of namespace/loki-component.

To Reproduce

Steps to reproduce the behavior:

  1. Install Loki in SSD deployment mode
  2. Install Grafana dashboards from loki-mixin-compiled-ssd or rendered with $._config.ssd.enabled
  3. Scrape metrics from Loki components and set job to namespace/loki-component

Expected behavior

The dashboards show data.

Environment:

  • Infrastructure: Kubernetes
  • Deployment tool: Helm, mixin

Screenshots, Promtail config, or terminal output

Other dashboards seem to override the values with logic like:

bloomGateway: if $._config.meta_monitoring.enabled
then [utils.selector.re('job', '($namespace)/(bloom-gateway|%s-backend|loki-single-binary)' % $._config.ssd.pod_prefix_matcher)]
else [utils.selector.re('job', '($namespace)/%s' % (if $._config.ssd.enabled then '%s-backend' % $._config.ssd.pod_prefix_matcher else 'bloom-gateway'))],

But this logic is missing in the mentioned dashboards:

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