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

Promote Azure v2 SDK #3875

Merged
merged 9 commits into from
Jul 25, 2024
Merged

Promote Azure v2 SDK #3875

merged 9 commits into from
Jul 25, 2024

Conversation

zalegrala
Copy link
Contributor

@zalegrala zalegrala commented Jul 17, 2024

What this PR does:

The v2 SDK was contributed a while ago, and we have been running it for a while now.
It is time to promote it to the default SDK for Azure. Here we make the v2 SDK
the default and only SDK for Azure, dropping the old config flag to enable it.

  • Comment test mocking the response on Write(). The new SDK validates the
    responses, and we'd need to setup and mock several conditions in order to
    test appropriately. Note that this functionality is already being tested
    against azurite in the e2e tests.

  • Update error handling to use the new SDK.

  • Pin version of azurite to the latest current version.

Which issue(s) this PR fixes:
Related: #2952
Related: #2882

Checklist

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

@zalegrala zalegrala marked this pull request as ready for review July 19, 2024 14:44
@zalegrala zalegrala force-pushed the azureV2Promote branch 2 times, most recently from 09f939c to ffe2c96 Compare July 22, 2024 13:49
@knylander-grafana knylander-grafana added the type/docs Improvements or additions to documentation label Jul 22, 2024
Copy link
Contributor

@knylander-grafana knylander-grafana left a comment

Choose a reason for hiding this comment

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

Thank you for updating the docs.

Copy link
Member

@joe-elliott joe-elliott left a comment

Choose a reason for hiding this comment

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

Looks like you have some docs sadness, but excellent fix.

We've seen a number of issues go away internally when moving to v2.

Copy link
Member

@mapno mapno left a comment

Choose a reason for hiding this comment

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

Nice!

CHANGELOG.md Show resolved Hide resolved
@zalegrala zalegrala merged commit 3ad6f9d into grafana:main Jul 25, 2024
14 of 15 checks passed
@zalegrala zalegrala deleted the azureV2Promote branch July 25, 2024 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/docs Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants