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

Drop destination.service.{name,type} from azure/db #492

Merged
merged 1 commit into from
Aug 24, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions specs/agents/tracing-instrumentation-azure.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,7 @@ is `foo/bar/baz`.
| APM field | Required? | Format | Notes | Example |
| --------- | --------- | ------ | ----- | ------- |
| `context.destination.address` | yes | URL host | | `accountname.blob.core.windows.net` |
| `context.destination.service.name` | yes | `azureblob` | | |
| `context.destination.service.resource` | yes | `azureblob/<Storage Account Name>` | | `azureblob/accountname` |
| `context.destination.service.type` | yes | `storage` | | |


#### Determining operations
Expand Down Expand Up @@ -142,9 +140,7 @@ A new span is created when there is a current transaction, and when a message is
| APM field | Required? | Format | Notes | Example |
| --------- | --------- | ------ | ----- | ------- |
| `context.destination.address` | yes | URL host | | `accountname.queue.core.windows.net` |
| `context.destination.service.name` | yes | `azurequeue` | | |
| `context.destination.service.resource` | yes | `azurequeue/<QueueName>` | | `azurequeue/accountname` |
| `context.destination.service.type` | yes | `messaging` | | |

----

Expand Down Expand Up @@ -228,9 +224,7 @@ Entities are similar to rows and properties are similar to columns.
| APM field | Required? | Format | Notes | Example |
| --------- | --------- | ------ | ----- | ------- |
| `context.destination.address` | yes | URL host | | `accountname.table.core.windows.net` |
| `context.destination.service.name` | yes | `azuretable` | | |
| `context.destination.service.resource` | yes | `azuretable/<Storage Account Name>` | | `azuretable/accountname` |
| `context.destination.service.type` | yes | `storage` | | |

#### Determining operations

Expand Down Expand Up @@ -288,9 +282,7 @@ The `<ResourceName>` is determined from the path of the URL.
| APM field | Required? | Format | Notes | Example |
| --------- | --------- | ------ | ----- | ------- |
| `context.destination.address` | yes | URL host | | `accountname.file.core.windows.net` |
| `context.destination.service.name` | yes | `azurefile` | | |
| `context.destination.service.resource` | yes | `azurefile/<Storage Account Name>` | | `azurefile/accountname` |
| `context.destination.service.type` | yes | `storage` | | |

#### Determining operations

Expand Down Expand Up @@ -370,9 +362,7 @@ A new span is created when there is a current transaction, and when a message is
| APM field | Required? | Format | Notes | Example |
| --------- | --------- | ------ | ----- | ------- |
| `context.destination.address` | yes | URL host | | `namespace.servicebus.windows.net` |
| `context.destination.service.name` | yes | azureservicebus | | |
| `context.destination.service.resource` | yes | azureservicebus/`<Queue>`\|`<Topic>` | | `azurequeue/myqueue`, `azureservicebus/mytopic` |
| `context.destination.service.type` | yes | `messaging` | | |

----

Expand Down
2 changes: 0 additions & 2 deletions specs/agents/tracing-instrumentation-db.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ The following fields are relevant for database and datastore spans. Where possib
| <hr/> |<hr/>|<hr/>|
|`context.destination.address`|The hostname / address of the database.| :x: |
|`context.destination.port`|The port under which the database is accessible.| :x: |
|`context.destination.service.name`| The `destination.service.name` is used to denote "sameness" of the service. E.g. multiple instances of Oracle databases have all the same name `oracle`. For databases and storages the same value as for the `span.subtype` should be used.| :white_check_mark:|
|`context.destination.service.type`| Should be the same as the `span.type`. Value: `db`| :white_check_mark:|
|`context.destination.service.resource`| Used to detect unique destinations from each service. This field should contain all information that is needed to differentiate different database / storage instances (e.g. in the service map). See details below on how to set this field for specific technologies.| :white_check_mark:|
|`context.destination.cloud.region`| The cloud region in case the datastore is hosted in a public cloud or is a managed datasatore / database. E.g. AWS regions, such as `us-east-1` | :x: |

Expand Down