Label replicated worker series as “Pholid Worker N” in container CPU/memory panels - #78
Merged
Merged
Conversation
Agent-Logs-Url: https://github.com/M-Nikox/Pholid/sessions/ef4967dc-f68b-4b5c-ac7b-b1954bd47030 Co-authored-by: M-Nikox <101933576+M-Nikox@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
M-Nikox
April 4, 2026 18:36
View session
M-Nikox
marked this pull request as ready for review
April 4, 2026 18:37
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the Grafana “Pholid Render Farm” dashboard so container CPU/Memory series for Flamenco worker replicas display friendly legend names (“Pholid Worker N”) instead of raw Docker Compose container names.
Changes:
- Added worker-replica name → display label mapping in the Container Memory Usage PromQL expression.
- Added the same worker-replica mapping in the Container CPU Usage PromQL expression to keep legends consistent.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Container CPU/Memory panels were showing raw Docker Compose container names for worker replicas (e.g.
{name="...flamenco-worker-1"}), which made legends noisy and inconsistent with worker-specific panels. This updates legend labeling so worker replicas render as Pholid Worker 1/2.Changes
label_replacechain to map worker replica names to friendly labels.Affected areas
Screenshots
Before/after available in the issue discussion image reference.
Theme testing
Checklist
pholid:namespace prefix