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

Alerting: Remove and revert flag alertingBigTransactions #65976

Merged
merged 3 commits into from
Apr 6, 2023

Conversation

JacobsonMT
Copy link
Member

@JacobsonMT JacobsonMT commented Apr 5, 2023

This is a partial revert of #55350 and a removal of the alertingBigTransactions flag.

Real-word use has seen no clear performance incentive to maintain this flag. Lowered db connection count came at the cost of significant increase in CPU usage and query latency.

@JacobsonMT JacobsonMT added this to the 10.0.0 milestone Apr 5, 2023
@JacobsonMT JacobsonMT requested review from a team as code owners April 5, 2023 03:43
@JacobsonMT JacobsonMT requested a review from a team April 5, 2023 03:43
@JacobsonMT JacobsonMT requested a review from a team as a code owner April 5, 2023 03:43
@JacobsonMT JacobsonMT requested review from tskarhed, yaelleC, leventebalogh, sakjur, papagian and zserge and removed request for a team April 5, 2023 03:43
@github-actions
Copy link
Contributor

github-actions bot commented Apr 5, 2023

⚠️   Possible breaking changes

(Open the links below in a new tab to go to the correct steps)

grafana-data has possible breaking changes (more info)

Console output
Read our guideline

@grafanabot grafanabot added the levitate breaking change A label indicating a breaking change and assigned by Levitate. label Apr 5, 2023
@github-advanced-security
Copy link

You have successfully added a new CodeQL configuration .github/workflows/pr-codeql-analysis-javascript.yml:analyze. As part of the setup process, we have scanned this repository and found no existing alerts. In the future, you will see all code scanning alerts on the repository Security tab.

@armandgrillet armandgrillet removed the levitate breaking change A label indicating a breaking change and assigned by Levitate. label Apr 5, 2023
@grafanabot grafanabot added type/docs levitate breaking change A label indicating a breaking change and assigned by Levitate. labels Apr 6, 2023
This is a partial revert of #56575 and a removal of the `alertingBigTransactions` flag.

Real-word use has seen no clear performance incentive to maintain this flag. Lowered db connection count
came at the cost of significant increase in CPU usage and query latency.
@armandgrillet armandgrillet force-pushed the jacobsonmt/revert_FlagAlertingBigTransactions branch from 1bdd0f9 to 36fbc35 Compare April 6, 2023 08:05
@armandgrillet armandgrillet merged commit 63187fa into main Apr 6, 2023
@armandgrillet armandgrillet deleted the jacobsonmt/revert_FlagAlertingBigTransactions branch April 6, 2023 16:06
@zerok zerok modified the milestones: 10.0.0, 10.0.0-preview May 31, 2023
@grobinson-grafana grobinson-grafana added backport v9.5.x Bot will automatically open backport PR and removed no-backport Skip backport of PR labels Jun 26, 2023
grafana-delivery-bot bot pushed a commit that referenced this pull request Jun 26, 2023
* Alerting: Remove and revert flag alertingBigTransactions

This is a partial revert of #56575 and a removal of the `alertingBigTransactions` flag.

Real-word use has seen no clear performance incentive to maintain this flag. Lowered db connection count
came at the cost of significant increase in CPU usage and query latency.

* Fix lint backend

* Removed last bits of alertingBigTransactions

---------

Co-authored-by: Armand Grillet <2117580+armandgrillet@users.noreply.github.com>
(cherry picked from commit 63187fa)
@grobinson-grafana grobinson-grafana added no-backport Skip backport of PR and removed backport v9.5.x Bot will automatically open backport PR labels Jun 26, 2023
@santihernandezc santihernandezc added backport v9.5.x Bot will automatically open backport PR and removed no-backport Skip backport of PR labels Jun 29, 2023
@grafana-delivery-bot
Copy link
Contributor

The backport to v9.5.x 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-65976-to-v9.5.x origin/v9.5.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x 63187fae0ccb925ac603acf66da84d4695be3480
# When the conflicts are resolved, stage and commit the changes
git add . && git cherry-pick --continue
# If you have the GitHub CLI installed: Push the branch to GitHub and a PR:
gh pr view 65976 --json body --template 'Backport 63187fae0ccb925ac603acf66da84d4695be3480 from #65976{{ "\n\n---\n\n" }}{{ index . "body" }}' > .pr-body.txt
gh pr create --title "[v9.5.x] Alerting: Remove and revert flag alertingBigTransactions" --body-file .pr-body.txt --label "type/docs" --label "area/alerting" --label "area/backend" --label "area/frontend" --label "add to changelog" --label "type/debt" --label "no-backport" --label "levitate breaking change" --label "type/feature-toggle-removal" --label "backport" --base v9.5.x --milestone 9.5.x --web
# If you don't have the GitHub CLI installed: Push the branch to GitHub and manually create a PR:
git push --set-upstream origin backport-65976-to-v9.5.x
# Remove the local backport branch
git switch main
git branch -D backport-65976-to-v9.5.x

Unless you've used the GitHub CLI above, now create a pull request where the base branch is v9.5.x and the compare/head branch is backport-65976-to-v9.5.x.

@grafana-delivery-bot grafana-delivery-bot bot added the backport-failed Failed to generate backport PR. Please resolve conflicts and create one manually. label Jun 29, 2023
santihernandezc pushed a commit that referenced this pull request Jun 29, 2023
* Alerting: Remove and revert flag alertingBigTransactions

This is a partial revert of #56575 and a removal of the `alertingBigTransactions` flag.

Real-word use has seen no clear performance incentive to maintain this flag. Lowered db connection count
came at the cost of significant increase in CPU usage and query latency.

* Fix lint backend

* Removed last bits of alertingBigTransactions

---------

Co-authored-by: Armand Grillet <2117580+armandgrillet@users.noreply.github.com>
(cherry picked from commit 63187fa)
santihernandezc added a commit that referenced this pull request Jun 29, 2023
…0910)

Alerting: Remove and revert flag alertingBigTransactions (#65976)

* Alerting: Remove and revert flag alertingBigTransactions

This is a partial revert of #56575 and a removal of the `alertingBigTransactions` flag.

Real-word use has seen no clear performance incentive to maintain this flag. Lowered db connection count
came at the cost of significant increase in CPU usage and query latency.

* Fix lint backend

* Removed last bits of alertingBigTransactions

---------

Co-authored-by: Armand Grillet <2117580+armandgrillet@users.noreply.github.com>
(cherry picked from commit 63187fa)

Co-authored-by: Matthew Jacobson <matthew.jacobson@grafana.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
add to changelog area/alerting Grafana Alerting area/backend area/frontend backport v9.5.x Bot will automatically open backport PR backport-failed Failed to generate backport PR. Please resolve conflicts and create one manually. levitate breaking change A label indicating a breaking change and assigned by Levitate. type/debt technical debt type/docs type/feature-toggle-removal
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

6 participants