-
Notifications
You must be signed in to change notification settings - Fork 543
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
Improve 'Mimir / Reads resources' dashboard to work with read-write deployment mode #3504
Improve 'Mimir / Reads resources' dashboard to work with read-write deployment mode #3504
Conversation
…eployment mode Signed-off-by: Marco Pracucci <marco@pracucci.com>
a099ac9
to
338c2f6
Compare
memory_working_usage: | ||
||| | ||
node_memory_MemTotal_bytes{%(namespace)s,%(instanceLabel)s=~".*%(instanceName)s.*"} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note to reviewers: the .*
prefix and suffix shouldn't be hardcoded in the query, but part of instanceName
. For this reason, I moved it to $._config.instance_names
.
Signed-off-by: Marco Pracucci <marco@pracucci.com>
Signed-off-by: Marco Pracucci <marco@pracucci.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Hello @pracucci!
Please, if the current pull request addresses a bug fix, label it with the |
…eployment mode (grafana#3504) * Improve 'Mimir / Reads resources' dashboard to work with read-write deployment mode Signed-off-by: Marco Pracucci <marco@pracucci.com> * Add CHANGELOG entry Signed-off-by: Marco Pracucci <marco@pracucci.com> Signed-off-by: Marco Pracucci <marco@pracucci.com>
What this PR does
Similarly to the PR #3497, in this PR I'm improving the 'Mimir / Reads resources' dashboard to work with read-write deployment mode too.
In details:
.*.*
suffix in the instance names regex used in baremetal dashboards$._config.instance_names
and$._config.container_names
in all CPU/memory/disk panels (networking panels will be addressed in a follow up PR)containerGoHeapInUsePanel()
everywhere (instead of the deprecatedgoHeapInUsePanel()
)Out of scope of this PR:
Screenshots of microservices deployment:
Screenshots of read-write deployment:
Which issue(s) this PR fixes or relates to
Part of #3361
Checklist
CHANGELOG.md
updated - the order of entries should be[CHANGE]
,[FEATURE]
,[ENHANCEMENT]
,[BUGFIX]