Skip to content
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

fix multi-cluster support for windows #824

Merged
merged 3 commits into from
Nov 24, 2023

Conversation

TBurda
Copy link
Contributor

@TBurda TBurda commented Feb 7, 2023

Fix multi-cluster support for windows.

  • Multi-cluster support added to windows rules. (Dashboards didn't work right.)
  • Fixed queries in dashboard variables.

@jkroepke
Copy link
Contributor

@povilasv did you need assistance here for review? I have multiple windows cluster and I would appreciate the merge here.

@povilasv
Copy link
Contributor

Can you folks send a screenshot of before / after? I have no windows clusters so hard to review

@jkroepke
Copy link
Contributor

Current Dashboard

image

After Change

image

image

image

The reason is that all recording rules have no cluster label, but the dashboard requires a cluster and put cluster="$cluster" everywhere (which is correct)

Copy link
Contributor

@jkroepke jkroepke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some nits, because I used windows-exporter twice in the same cluster and I had recording rules issues.

rules/windows.libsonnet Outdated Show resolved Hide resolved
rules/windows.libsonnet Outdated Show resolved Hide resolved
rules/windows.libsonnet Outdated Show resolved Hide resolved
rules/windows.libsonnet Outdated Show resolved Hide resolved
rules/windows.libsonnet Outdated Show resolved Hide resolved
rules/windows.libsonnet Outdated Show resolved Hide resolved
@povilasv
Copy link
Contributor

👍 Let's apply the @jkroepke changes

@jkroepke
Copy link
Contributor

@povilasv Should @TBurda apply the patch OR can you do this?

Otherwise, I would create an new PR to "close" this issue.

Co-authored-by: Jan-Otto Kröpke <github@jkroepke.de>
@povilasv povilasv merged commit 2dbe4f9 into kubernetes-monitoring:master Nov 24, 2023
6 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.

3 participants