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

Chore: Update arrow and prometheus dependencies #82215

Merged
merged 6 commits into from
Feb 13, 2024

Conversation

ryantxu
Copy link
Member

@ryantxu ryantxu commented Feb 8, 2024

This PR updates the SDK to a version with latest arrow files. While doing the import -- it seems to also require upgrades to /x/exp and by extension prometheus 😬

prometheus/prometheus#12649

Without the prometheus update, the error was:

type func(a Label, b Label) bool of func(a, b Label) bool {…} does not match inferred 
type func(a Label, b Label) int for func(a E, b E) int

@ryantxu ryantxu added add to changelog no-backport Skip backport of PR labels Feb 8, 2024
@ryantxu ryantxu added this to the 10.4.x milestone Feb 8, 2024
@@ -336,7 +336,7 @@ func (n *Manager) Send(alerts ...*Alert) {
}
})

a.Labels = lb.Labels(a.Labels)
a.Labels = lb.Labels()
Copy link
Member Author

Choose a reason for hiding this comment

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

@grafana/alerting-backend-product -- the prometheus upgrade no longer has this function, but also the previous logic did not make sense. And I don't see any test :(

go.mod Outdated
@@ -63,7 +63,7 @@ require (
github.com/grafana/cuetsy v0.1.11 // @grafana/grafana-as-code
github.com/grafana/grafana-aws-sdk v0.23.1 // @grafana/aws-datasources
github.com/grafana/grafana-azure-sdk-go v1.12.0 // @grafana/partner-datasources
github.com/grafana/grafana-plugin-sdk-go v0.208.0 // @grafana/plugins-platform-backend
github.com/grafana/grafana-plugin-sdk-go v0.209.1-0.20240208231327-bb7c8753e380 // @grafana/plugins-platform-backend
Copy link
Member Author

Choose a reason for hiding this comment

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

^^ will be replaced with a real version after the PR is merged

Copy link
Contributor

Choose a reason for hiding this comment

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

When the PR is merged you mean?

Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

v0.210.0 released, you can update this.

Copy link
Contributor

Choose a reason for hiding this comment

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

We will do it on Tuesday

@ryantxu
Copy link
Member Author

ryantxu commented Feb 9, 2024

/deploy-to-hg

@grafana grafana deleted a comment from ephemeral-instances-bot bot Feb 9, 2024
@grafana grafana deleted a comment from ephemeral-instances-bot bot Feb 9, 2024
@ephemeral-instances-bot
Copy link

  • Preparing your instance. A comment containing your instance's url will be added to this PR when the instance is ready.
  • Your instance will be ready in ~10 minutes.
  • Check the GitHub actions tab to follow the workflow progress
  • Slack channel: #proj-ephemeral-hg-instances
  • Building instance with update-arrow-and-prometheus oss branch and main enterprise branch. How to choose a branch

@ephemeral-instances-bot
Copy link

@ryantxu ryantxu requested review from a team, wbrowne, andresmgot and xnyo and removed request for a team February 9, 2024 00:59
Copy link
Contributor

@itsmylife itsmylife left a comment

Choose a reason for hiding this comment

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

influxdb changes LGTM

@alexweav
Copy link
Contributor

alexweav commented Feb 9, 2024

Alerting bits LGTM, thanks!

@itsmylife itsmylife marked this pull request as ready for review February 13, 2024 00:49
@itsmylife itsmylife requested a review from a team February 13, 2024 00:49
@itsmylife itsmylife requested review from a team as code owners February 13, 2024 00:49
@itsmylife itsmylife requested review from rwwiv, JacobsonMT, yuri-tceretian, grobinson-grafana, papagian, diegommm and undef1nd and removed request for a team February 13, 2024 00:49
@itsmylife itsmylife merged commit 0c6e409 into main Feb 13, 2024
13 checks passed
@itsmylife itsmylife deleted the update-arrow-and-prometheus branch February 13, 2024 00:50
Ukochka pushed a commit that referenced this pull request Feb 14, 2024
* update arrow and prometheus

* keep codeowner

* use compare

* use grafana-plugin-sdk-go v0.210.0

---------

Co-authored-by: ismail simsek <ismailsimsek09@gmail.com>
@aangelisc aangelisc modified the milestones: 10.4.x, 10.4.0 Mar 6, 2024
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.

6 participants