Skip to content

fix(spore): fix Log Explorer host variable query#391

Merged
stackptr merged 1 commit intomainfrom
fix/log-explorer-host-variable
Mar 20, 2026
Merged

fix(spore): fix Log Explorer host variable query#391
stackptr merged 1 commit intomainfrom
fix/log-explorer-host-variable

Conversation

@stackptr
Copy link
Copy Markdown
Owner

Summary

  • Fix label_values({}, host)label_values(host) since Loki requires at least one matcher in stream selectors
  • Set default host selection to "All" so panels populate on first load
  • Bind host variable to the Loki datasource explicitly

Test plan

  • Deploy to spore
  • Open Log Explorer dashboard in Grafana — should show logs immediately without manual variable selection

🤖 Generated with Claude Code

label_values({}, host) fails because Loki requires at least one
matcher in stream selectors. Use label_values(host) instead, set
default selection to All, and bind the variable to the Loki
datasource explicitly.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@stackptr stackptr enabled auto-merge (squash) March 20, 2026 19:12
@stackptr stackptr merged commit dc4ac2f into main Mar 20, 2026
4 checks passed
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

Successfully merging this pull request may close these issues.

1 participant