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

Refactoring: simplified dashboards resources and networking panels utilities #3531

Merged
merged 1 commit into from
Nov 28, 2022

Conversation

pracucci
Copy link
Collaborator

What this PR does

This is a dashboards refactoring PR, with no diff in the compiled dashboards. I'm introducing some utillities to build resources and networking panels based on the component name (all such functions are suffixed with ByComponent for clarity).

Which issue(s) this PR fixes or relates to

Part of #3361

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

…ilities

Signed-off-by: Marco Pracucci <marco@pracucci.com>
@pracucci pracucci requested a review from a team as a code owner November 28, 2022 10:27
Copy link
Contributor

@dimitarvdimitrov dimitarvdimitrov left a comment

Choose a reason for hiding this comment

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

LGTM

@pracucci pracucci merged commit b0a390b into main Nov 28, 2022
@pracucci pracucci deleted the refactor-resources-panel-utiliries branch November 28, 2022 10:57
@replay replay mentioned this pull request Nov 28, 2022
37 tasks
replay pushed a commit that referenced this pull request Nov 28, 2022
…ilities (#3531)

Signed-off-by: Marco Pracucci <marco@pracucci.com>

Signed-off-by: Marco Pracucci <marco@pracucci.com>
replay added a commit that referenced this pull request Nov 29, 2022
@grafanabot
Copy link
Contributor

The backport to release-2.5 failed:

The process '/usr/bin/git' failed with exit code 1

To backport manually, run these commands in your terminal:

# Fetch latest updates from GitHub
git fetch
# Create a new branch
git switch --create backport-3531-to-release-2.5 origin/release-2.5
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x b0a390ba2d830c83c28f9dcf4d0740f77ed625cf
# Push it to GitHub
git push --set-upstream origin backport-3531-to-release-2.5
git switch main
# Remove the local backport branch
git branch -D backport-3531-to-release-2.5

Then, create a pull request where the base branch is release-2.5 and the compare/head branch is backport-3531-to-release-2.5.

@replay
Copy link
Contributor

replay commented Nov 29, 2022

I think the reason why the backport via grafanabot failed is because this PR isn't merged into release-2.5 yet: #3574

I'll remove the backport release-2.5 label and later re-add it once that other PR 3574 is merged.

grafanabot pushed a commit that referenced this pull request Nov 29, 2022
…ilities (#3531)

Signed-off-by: Marco Pracucci <marco@pracucci.com>

Signed-off-by: Marco Pracucci <marco@pracucci.com>
(cherry picked from commit b0a390b)
replay pushed a commit that referenced this pull request Nov 29, 2022
…ilities (#3531) (#3578)

Signed-off-by: Marco Pracucci <marco@pracucci.com>

Signed-off-by: Marco Pracucci <marco@pracucci.com>
(cherry picked from commit b0a390b)

Co-authored-by: Marco Pracucci <marco@pracucci.com>
masonmei pushed a commit to udmire/mimir that referenced this pull request Dec 16, 2022
…ilities (grafana#3531)

Signed-off-by: Marco Pracucci <marco@pracucci.com>

Signed-off-by: Marco Pracucci <marco@pracucci.com>
masonmei pushed a commit to udmire/mimir that referenced this pull request Dec 16, 2022
masonmei pushed a commit to udmire/mimir that referenced this pull request Dec 16, 2022
…ilities (grafana#3531) (grafana#3578)

Signed-off-by: Marco Pracucci <marco@pracucci.com>

Signed-off-by: Marco Pracucci <marco@pracucci.com>
(cherry picked from commit b0a390b)

Co-authored-by: Marco Pracucci <marco@pracucci.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants