Skip to content

Promote Azure v2 SDK - #3875

Merged
zalegrala merged 9 commits into
grafana:mainfrom
zalegrala:azureV2Promote
Jul 25, 2024
Merged

Promote Azure v2 SDK#3875
zalegrala merged 9 commits into
grafana:mainfrom
zalegrala:azureV2Promote

Conversation

@zalegrala

@zalegrala zalegrala commented Jul 17, 2024

Copy link
Copy Markdown
Contributor

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

@knylander-grafana knylander-grafana left a comment

Copy link
Copy Markdown
Contributor

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.

@joe-elliott joe-elliott left a comment

Copy link
Copy Markdown
Collaborator

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.

@mapno mapno left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nice!

Comment thread CHANGELOG.md
@zalegrala
zalegrala merged commit 3ad6f9d into grafana:main Jul 25, 2024
@zalegrala
zalegrala deleted the azureV2Promote branch July 25, 2024 17:30
mattdurham pushed a commit to mattdurham/tempo that referenced this pull request Jun 18, 2026
* Promote Azure v2 SDK

* Fix bug in Azure Find() to keep the tenant in the object path

* Restructure tests after v1 drop

* Add reminder about failing test

* Comment failing test

* Pin azurite version

* Use new SDK for error handling

* Update vendor

* Update changelog and docs
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

4 participants