Let the dashboard match a rolled api container by pattern #96
Labels
No labels
priority/P0
priority/P1
priority/P2
priority/P3
size/L
size/M
size/S
size/XL
size/XS
state/blocked
state/done
state/in-progress
state/in-review
state/needs-refinement
state/ready
type/bug
type/chore
type/feature
type/refactor
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
amtronics/platform-actions#96
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
grafana-dashboard's "API errors" Loki panel matches the api container by exact name (
{container="<api-container>"}). A service deployed with deploy-vps'srolling-serviceshas no fixed name: compose numbers each replica (rihla-api-2,rihla-api-3, …), so after the first swap the panel shows nothing. Needed for suhba/rihla#417.Scope
api-containeras a regular expression (=~), and say so in the input's description and the README.Acceptance criteria
api-container: rihla-api-.*, when the dashboard is pushed, then the panel shows errors from whichever replica is running.