Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

OCPBUGS-5353: unstack dashboards with limit markers. #1868

Merged
merged 1 commit into from
Jan 24, 2023

Conversation

raptorsun
Copy link
Contributor

@raptorsun raptorsun commented Jan 18, 2023

  • I added CHANGELOG entry for this change.
  • No user facing changes, so no entry in CHANGELOG was needed.

Dashboards showing CPU / memory usage used to stack the limit markers such as limit/request/quota over other metrics create confusion for users reading the diagrams. So we unstack all metrics in the charts containing these limit markers.

This is the result of unstacking metrics:
image

This is what it looks like when stacking metrics:
image

@openshift-ci-robot openshift-ci-robot added jira/severity-low Referenced Jira bug's severity is low for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels Jan 18, 2023
@openshift-ci-robot
Copy link
Contributor

@raptorsun: This pull request references Jira Issue OCPBUGS-5353, which is invalid:

  • expected the bug to target the "4.13.0" version, but no target version was set

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

The bug has been updated to refer to the pull request using the external bug tracker.

In response to this:

  • I added CHANGELOG entry for this change.
  • No user facing changes, so no entry in CHANGELOG was needed.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 18, 2023
@raptorsun
Copy link
Contributor Author

/jira refresh

@openshift-ci-robot
Copy link
Contributor

@raptorsun: This pull request references Jira Issue OCPBUGS-5353, which is invalid:

  • expected the bug to target the "4.13.0" version, but it targets "4.13" instead

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

In response to this:

/jira refresh

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@slashpai
Copy link
Member

/retest

@openshift-ci-robot
Copy link
Contributor

@raptorsun: This pull request references Jira Issue OCPBUGS-5353, which is invalid:

  • expected the bug to target the "4.13.0" version, but it targets "4.13" instead

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

In response to this:

  • I added CHANGELOG entry for this change.
  • No user facing changes, so no entry in CHANGELOG was needed.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-ci-robot
Copy link
Contributor

@raptorsun: This pull request references Jira Issue OCPBUGS-5353, which is invalid:

  • expected the bug to target the "4.13.0" version, but it targets "4.13" instead

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

In response to this:

  • I added CHANGELOG entry for this change.
  • No user facing changes, so no entry in CHANGELOG was needed.

Dashboards showing CPU / memory usage used to stack the limit markers such as limit/request/quota over other metrics create confusion for users reading the diagrams. So we unstack all metrics in the charts containing these limit markers.

This is the result of unstacking metrics:
image

This is what it looks like when stacking metrics:
image

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@raptorsun
Copy link
Contributor Author

/jira refresh

@openshift-ci-robot openshift-ci-robot added jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. and removed jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels Jan 19, 2023
@openshift-ci-robot
Copy link
Contributor

@raptorsun: This pull request references Jira Issue OCPBUGS-5353, which is valid. The bug has been moved to the POST state.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.13.0) matches configured target version for branch (4.13.0)
  • bug is in the state ASSIGNED, which is one of the valid states (NEW, ASSIGNED, POST)

Requesting review from QA contact:
/cc @juzhao

In response to this:

/jira refresh

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-ci openshift-ci bot requested a review from juzhao January 19, 2023 15:12
@simonpasquier
Copy link
Contributor

can we make the change upstream?

@raptorsun
Copy link
Contributor Author

raptorsun commented Jan 20, 2023

can we make the change upstream?

The upstream defines these dashboards for Grafana which is able to mix both stacked and unstacked metrics in the same chart, while in Openshift Console we can choose either stacked or unstacked for all the metrics in the same chart.

The fix should probably better stay in the scope of Openshift. 😅

@simonpasquier
Copy link
Contributor

Ok! can you add the explanation next to the added jsonnet code (with a link to the JIRA bug)?
Also did we discuss this issue with the console folks? Is there something to improve on this side (e.g. to support stacked and unstacked series on the same graph)?

@raptorsun
Copy link
Contributor Author

Ok! can you add the explanation next to the added jsonnet code (with a link to the JIRA bug)? Also did we discuss this issue with the console folks? Is there something to improve on this side (e.g. to support stacked and unstacked series on the same graph)?

Yup. An explanation has been added to the file dashboards.libsonnet as well as on the JIRA bug ticket. I will check with the console team on what shall we do to the charts in UI.

@raptorsun
Copy link
Contributor Author

/retest-required

@simonpasquier
Copy link
Contributor

/test e2e-agnostic-upgrade
/skip

@simonpasquier
Copy link
Contributor

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jan 23, 2023
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 23, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: raptorsun, simonpasquier

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [raptorsun,simonpasquier]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD 2b4844d and 2 for PR HEAD 4f18d47 in total

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 23, 2023

@raptorsun: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-aws-single-node 4f18d47 link false /test e2e-aws-single-node

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@raptorsun
Copy link
Contributor Author

/test e2e-agnostic-upgrade

@openshift-merge-robot openshift-merge-robot merged commit c300311 into openshift:master Jan 24, 2023
@openshift-ci-robot
Copy link
Contributor

@raptorsun: All pull requests linked via external trackers have merged:

Jira Issue OCPBUGS-5353 has been moved to the MODIFIED state.

In response to this:

  • I added CHANGELOG entry for this change.
  • No user facing changes, so no entry in CHANGELOG was needed.

Dashboards showing CPU / memory usage used to stack the limit markers such as limit/request/quota over other metrics create confusion for users reading the diagrams. So we unstack all metrics in the charts containing these limit markers.

This is the result of unstacking metrics:
image

This is what it looks like when stacking metrics:
image

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@raptorsun
Copy link
Contributor Author

/cherry-pick release-4.12

@openshift-cherrypick-robot

@raptorsun: #1868 failed to apply on top of branch "release-4.12":

Applying: unstack dashboards with limit markers.
Using index info to reconstruct a base tree...
M	CHANGELOG.md
M	manifests/0000_90_cluster-monitoring-operator_01-dashboards.yaml
Falling back to patching base and 3-way merge...
Auto-merging manifests/0000_90_cluster-monitoring-operator_01-dashboards.yaml
Auto-merging CHANGELOG.md
CONFLICT (content): Merge conflict in CHANGELOG.md
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 unstack dashboards with limit markers.
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

In response to this:

/cherry-pick release-4.12

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. jira/severity-low Referenced Jira bug's severity is low for the branch this PR is targeting. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants