You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/service-bus-messaging/service-bus-end-to-end-tracing.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: Azure Service Bus end-to-end tracing and diagnostics | Microsoft Docs
3
3
description: Overview of Service Bus client diagnostics and end-to-end tracing (client through all the services that are involved in processing.)
4
4
ms.topic: article
5
-
ms.date: 02/03/2021
5
+
ms.date: 12/21/2022
6
6
ms.devlang: csharp
7
7
ms.custom: devx-track-csharp
8
8
---
@@ -78,7 +78,7 @@ If you're running any external code in addition to the Application Insights SDK,
78
78
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.
79
79
80
80
### 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).
82
82
83
83
### Tracking without tracing system
84
84
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
141
141
-`kind` – either producer, consumer, or client. Producer is used when sending messages, consumer when receiving, and client when settling.
142
142
-`component` – `servicebus`
143
143
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
147
147
148
148
### Instrumented operations
149
149
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
316
316
317
317
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.
318
318
319
-
All events also have 'Entity' and 'Endpoint' properties, they're omitted in below table
319
+
All events also have 'Entity' and 'Endpoint' properties.
320
320
*`string Entity` - - Name of the entity (queue, topic, etc.)
321
321
*`Uri Endpoint` - Service Bus endpoint URL
322
322
@@ -328,7 +328,7 @@ Here's the full list of instrumented operations:
328
328
|----------------|-------------|---------|
329
329
| Microsoft.Azure.ServiceBus.Send |[MessageSender.SendAsync](/dotnet/api/microsoft.azure.servicebus.core.messagesender.sendasync)|`IList<Message> Messages` - List of messages being sent |
330
330
| 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 |
332
332
| 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) |
333
333
| 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) |
334
334
| 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