-
Notifications
You must be signed in to change notification settings - Fork 118
Add spec for instrumenting Azure services #426
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
Merged
russcam
merged 15 commits into
elastic:master
from
russcam:feature/tracing-instrumentation-azure
Jul 19, 2021
Merged
Changes from 1 commit
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
d8fba3b
Add spec for instrumenting Azure services
russcam 54654d3
Add specs for Azure blob and queue storage
russcam 33911c6
Add table and file share storage
russcam 66c76af
PR feedback
russcam 18ccc88
Merge branch 'master' into feature/tracing-instrumentation-azure
russcam 559b237
Add additional blob rules
russcam 0b8ab3b
Update wording
russcam 1d1abf3
Use storage account name in destination.service.resource
russcam b3a2086
update Azure Service bus details
russcam 5d93ed1
Merge branch 'master' into feature/tracing-instrumentation-azure
russcam 8af9b99
Update context.destination.address
russcam a7d0a17
fix examples
russcam 0c96886
Merge branch 'master' into feature/tracing-instrumentation-azure
russcam e68cb09
Merge branch 'master' into feature/tracing-instrumentation-azure
russcam 6a68966
Merge branch 'master' into feature/tracing-instrumentation-azure
russcam File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
## Azure services spans | ||
|
||
We describe how to instrument some of Azure's services in this document. | ||
Some of the services can use existing specs. When there are differences or additions, they have been noted below. | ||
|
||
### Azure Service Bus | ||
|
||
Azure Service Bus is a message broker service. The [messaging spec](tracing-instrumentation-messaging.md) can | ||
be used for instrumenting Azure Service Bus, but the follow specifications supersede those of the messaging spec. | ||
|
||
#### Typing | ||
|
||
- Spans: | ||
- `span.subtype`: `azureservicebus` | ||
|
||
#### Additional actions | ||
|
||
Azure Service Bus supports actions that should be traced in addition to `SEND` and `RECEIVE`: | ||
|
||
- `SCHEDULE` | ||
|
||
Message published to the bus, but not visible until some later point. | ||
|
||
- `RECEIVEDEFERRED` | ||
|
||
Message received from the bus, but marked as deferred on the bus, then later retrieved with receive deferred. | ||
|
||
#### Naming | ||
|
||
Messages can be sent to queues and topics, and can be received from queues and topic subscriptions. | ||
|
||
Transaction and span names should* follow these patterns: | ||
|
||
For send and schedule, | ||
|
||
`AzureServiceBus SEND|SCHEDULE to <QUEUE-NAME>|<TOPIC-NAME>` | ||
|
||
For receive and receive deferred, | ||
|
||
`AzureServiceBus RECEIVE|RECEIVEDEFERRED from <QUEUE-NAME>|<TOPIC-NAME>/Subscriptions/<SUBSCRIPTION-NAME>` |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.