Skip to content

Commit f0dd31a

Browse files
Merge pull request #222136 from spelluru/sbustracing1221
service bus tracing - review & update
2 parents 416b42f + 8d76775 commit f0dd31a

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

articles/service-bus-messaging/service-bus-end-to-end-tracing.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Azure Service Bus end-to-end tracing and diagnostics | Microsoft Docs
33
description: Overview of Service Bus client diagnostics and end-to-end tracing (client through all the services that are involved in processing.)
44
ms.topic: article
5-
ms.date: 02/03/2021
5+
ms.date: 12/21/2022
66
ms.devlang: csharp
77
ms.custom: devx-track-csharp
88
---
@@ -78,7 +78,7 @@ If you're running any external code in addition to the Application Insights SDK,
7878
It doesn't mean that there was a delay in receiving the message. In this scenario, the message has already been received since the message is passed in as a parameter to the SDK code. And, the **name** tag in the App Insights logs (**Process**) indicates that the message is now being processed by your external event processing code. This issue isn't Azure-related. Instead, these metrics refer to the efficiency of your external code given that the message has already been received from Service Bus.
7979

8080
### Tracking with OpenTelemetry
81-
Service Bus .NET Client library version 7.5.0 and later supports OpenTelemetry in experimental mode. Refer to [Distributed tracing in .NET SDK](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/samples/Diagnostics.md#opentelemetry-with-azure-monitor-zipkin-and-others) documentation for more details.
81+
Service Bus .NET Client library version 7.5.0 and later supports OpenTelemetry in experimental mode. For more information, see [Distributed tracing in .NET SDK](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/core/Azure.Core/samples/Diagnostics.md#opentelemetry-with-azure-monitor-zipkin-and-others).
8282

8383
### Tracking without tracing system
8484
In case your tracing system doesn't support automatic Service Bus calls tracking you may be looking into adding such support into a tracing system or into your application. This section describes diagnostics events sent by Service Bus .NET client.
@@ -141,9 +141,9 @@ All events will have the following properties that conform with the open telemet
141141
- `kind` – either producer, consumer, or client. Producer is used when sending messages, consumer when receiving, and client when settling.
142142
- `component``servicebus`
143143

144-
All events also have 'Entity' and 'Endpoint' properties, they're omitted in below table
145-
* `string Entity` - - Name of the entity (queue, topic, and so on.)
146-
* `Uri Endpoint` - Service Bus endpoint URL
144+
All events also have `Entity` and `Endpoint` properties.
145+
* `Entity` - - Name of the entity (queue, topic, and so on.)
146+
* `Endpoint` - Service Bus endpoint URL
147147

148148
### Instrumented operations
149149
Here's the full list of instrumented operations:
@@ -316,7 +316,7 @@ Most probably, you're only interested in 'Stop' events. They provide the result
316316

317317
Event payload provides a listener with the context of the operation, it replicates API incoming parameters and return value. 'Stop' event payload has all the properties of 'Start' event payload, so you can ignore 'Start' event completely.
318318

319-
All events also have 'Entity' and 'Endpoint' properties, they're omitted in below table
319+
All events also have 'Entity' and 'Endpoint' properties.
320320
* `string Entity` - - Name of the entity (queue, topic, etc.)
321321
* `Uri Endpoint` - Service Bus endpoint URL
322322

@@ -328,7 +328,7 @@ Here's the full list of instrumented operations:
328328
|----------------|-------------|---------|
329329
| Microsoft.Azure.ServiceBus.Send | [MessageSender.SendAsync](/dotnet/api/microsoft.azure.servicebus.core.messagesender.sendasync) | `IList<Message> Messages` - List of messages being sent |
330330
| Microsoft.Azure.ServiceBus.ScheduleMessage | [MessageSender.ScheduleMessageAsync](/dotnet/api/microsoft.azure.servicebus.core.messagesender.schedulemessageasync) | `Message Message` - Message being processed<br/>`DateTimeOffset ScheduleEnqueueTimeUtc` - Scheduled message offset<br/>`long SequenceNumber` - Sequence number of scheduled message ('Stop' event payload) |
331-
| Microsoft.Azure.ServiceBus.Cancel | [MessageSender.CancelScheduledMessageAsync](/dotnet/api/microsoft.azure.servicebus.core.messagesender.cancelscheduledmessageasync) | `long SequenceNumber` - Sequence number of te message to be canceled |
331+
| Microsoft.Azure.ServiceBus.Cancel | [MessageSender.CancelScheduledMessageAsync](/dotnet/api/microsoft.azure.servicebus.core.messagesender.cancelscheduledmessageasync) | `long SequenceNumber` - Sequence number of the message to be canceled |
332332
| Microsoft.Azure.ServiceBus.Receive | [MessageReceiver.ReceiveAsync](/dotnet/api/microsoft.azure.servicebus.core.messagereceiver.receiveasync) | `int RequestedMessageCount` - The maximum number of messages that could be received.<br/>`IList<Message> Messages` - List of received messages ('Stop' event payload) |
333333
| Microsoft.Azure.ServiceBus.Peek | [MessageReceiver.PeekAsync](/dotnet/api/microsoft.azure.servicebus.core.messagereceiver.peekasync) | `int FromSequenceNumber` - The starting point from which to browse a batch of messages.<br/>`int RequestedMessageCount` - The number of messages to retrieve.<br/>`IList<Message> Messages` - List of received messages ('Stop' event payload) |
334334
| Microsoft.Azure.ServiceBus.ReceiveDeferred | [MessageReceiver.ReceiveDeferredMessageAsync](/dotnet/api/microsoft.azure.servicebus.core.messagereceiver.receivedeferredmessageasync) | `IEnumerable<long> SequenceNumbers` - The list containing the sequence numbers to receive.<br/>`IList<Message> Messages` - List of received messages ('Stop' event payload) |

0 commit comments

Comments
 (0)