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

[azure] blob storage instrumentation #1100

Closed
wants to merge 17 commits into from

Conversation

stuartnelson3
Copy link
Contributor

@stuartnelson3 stuartnelson3 commented Aug 16, 2021

Add instrumentation for azure's blob storage. This will probably change as additional services are instrumented and patterns/abstractions start to appear.

There is also queue, table, and file share storage. These will be added in separate PRs.

requested in #885

Structure is:

<Storage Account Name>.blob.core.windows.net

We could parse it to get storage-account-name +
service (blob, in this case), but the information
also seems to be available in the path of the
constructed url.
@stuartnelson3 stuartnelson3 requested a review from a team August 16, 2021 15:21
@apmmachine
Copy link
Contributor

apmmachine commented Aug 16, 2021

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Start Time: 2021-08-18T13:14:06.931+0000

  • Duration: 33 min 26 sec

  • Commit: 78c15f3

Test stats 🧪

Test Results
Failed 0
Passed 10916
Skipped 268
Total 11184

Trends 🧪

Image of Build Times

Image of Tests

Some of the azure go sdk modules require go1.14
go vet fails when run on a directory with no
buildable files, eg. running go vet with a version
of go too low for the provided dir.
solves the problem when we are attempting to go
vet a module, but the version of go we are using
isn't supported.
scripts/check_vet.sh Outdated Show resolved Hide resolved
@stuartnelson3
Copy link
Contributor Author

this PR is using the incorrect sdk library; it should be using github.com/Azure/azure-storage-blob-go, and not github.com/Azure/azure-sdk-for-go/sdk/storage/armstorage.

A lot of the code here will transfer over, but have to be hooked in slightly differently, owing to the different API. I'll close this PR and open a new one.

@apmmachine
Copy link
Contributor

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Start Time: 2021-08-18T15:14:06.594+0000

  • Duration: 35 min 14 sec

  • Commit: 1c98ac7

Test stats 🧪

Test Results
Failed 0
Passed 10914
Skipped 268
Total 11182

Trends 🧪

Image of Build Times

Image of Tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants