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

[apmazure] storage queue #1107

Merged
merged 41 commits into from
Aug 24, 2021

Conversation

stuartnelson3
Copy link
Contributor

Add azure queue storage instrumentation.

There are still 2 other azure storage services to implement before #885 is officially "done":

  • Table
  • File Storage

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.
This reverts commit 33bc894.
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.
receive/send were reversed in the tests. fix the
naming, and verify that receiving a message starts
a new tx.
@stuartnelson3 stuartnelson3 requested a review from a team August 23, 2021 08:35
@stuartnelson3 stuartnelson3 marked this pull request as draft August 23, 2021 08:36
@stuartnelson3 stuartnelson3 marked this pull request as ready for review August 23, 2021 08:38
@apmmachine
Copy link
Contributor

apmmachine commented Aug 23, 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-24T11:21:21.390+0000

  • Duration: 30 min 59 sec

  • Commit: f839e59

Test stats 🧪

Test Results
Failed 0
Passed 10964
Skipped 268
Total 11232

Trends 🧪

Image of Build Times

Image of Tests

Copy link
Member

@axw axw left a comment

Choose a reason for hiding this comment

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

Looks great! Just one issue about testing of the queue instrumentation, otherwise LGTM. I didn't verify the spec is being adhered to exactly, I'll take your word on that.

module/apmazure/blob.go Show resolved Hide resolved
module/apmazure/blob.go Show resolved Hide resolved
module/apmazure/queue_test.go Outdated Show resolved Hide resolved
@stuartnelson3
Copy link
Contributor Author

/test

@stuartnelson3
Copy link
Contributor Author

jenkins run the tests

1 similar comment
@stuartnelson3
Copy link
Contributor Author

jenkins run the tests

@stuartnelson3 stuartnelson3 merged commit 4173391 into elastic:master Aug 24, 2021
@stuartnelson3 stuartnelson3 deleted the azure-storage-queue branch August 24, 2021 13:13
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.

3 participants