Skip to content

Fix Caddy dashboard: multi-select server, host/site filter, real labels

Aiho Tehisaru requested to merge feature/caddy-dashboard-host-filter-fix into trunk
  • server variable: fix current value/text to arrays so multi-select actually works (it was defaulting to single-select shape)
  • add a host/site variable (request_host), scoped to the selected server via label_values() over a parsed query, and thread it as a filter through every panel query
  • add the labelsToFields transformation to pie/table panels so they show the actual label values (status, ASN, country, host, URI) instead of Grafana's generic "Value #A" fallback name
  • fold address-family into a single query via label_replace() so IPv4/IPv6 come back as one labeled series instead of two refIds

Co-Authored-By: Claude Sonnet 5 noreply@anthropic.com Claude-Session: https://claude.ai/code/session_016w3RRcouvZHeMdzRq215KA

Merge request reports

Loading