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: monitoring/metrics/definitions.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -84,3 +84,12 @@ This metric tracks the number of messages in the main input queue of the endpoin
84
84
85
85
> [!NOTE]
86
86
> The queue length metric is measured centrally by the [ServiceControl Monitoring instance](/servicecontrol/monitoring-instances) for all transports except MSMQ, which uses a [custom plugin installed at the endpoint](/monitoring/metrics/msmq-queue-length.md). As a result, the NServiceBus.Metrics package does not contain a probe for this metric.
87
+
88
+
### Transactional Session metrics
89
+
90
+
There are metrics that measure various spects of the [transactional session operations](/nservicebus/transactional-session/#how-it-works):
91
+
92
+
- Commit duration - how long it took to commit the transaction and (optionally) dispatch the control message
93
+
- Dispatch druation - how long it took to dispatch the control message
94
+
- Attempts - how many times the mechanism attempted to process the control message for a given transaction
95
+
- Transit time - how long it took between dispatching the control message and starting to process it again
Copy file name to clipboardExpand all lines: nservicebus/operations/opentelemetry_metrics_core_[9,).partial.md
+10-1Lines changed: 10 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
## Meters
2
2
3
-
NServiceBus endpoints can be configured to expose metrics related to message processing. To capture meter information, add the `NServiceBus.Core.Pipeline.Incoming` meter source to the OpenTelemetry configuration:
3
+
NServiceBus endpoints can be configured to expose metrics related to message processing. To capture meter information, add the appropriate meter source (e.g., `NServiceBus.Core.Pipeline.Incoming`) to the OpenTelemetry configuration:
4
4
5
5
> [!NOTE]
6
6
> The metric definitions published by NServiceBus are not yet finalized and could change in a minor release.
Meter source `NServiceBus.Core.Pipeline.Incoming`:
13
+
12
14
-[`nservicebus.messaging.successes`](/monitoring/metrics/definitions.md#metrics-captured-number-of-messages-successfully-processed) - Total number of messages processed successfully by the endpoint
13
15
-[`nservicebus.messaging.fetches`](/monitoring/metrics/definitions.md#metrics-captured-number-of-messages-pulled-from-queue) - Total number of messages fetched from the queue by the endpoint
14
16
-[`nservicebus.messaging.failures`](/monitoring/metrics/definitions.md#metrics-captured-number-of-message-processing-failures) - Total number of messages processed unsuccessfully by the endpoint
-[`nservicebus.recoverability.delayed`](/monitoring/metrics/definitions.md#metrics-captured-delayed-retries) - Total number of delayed retries requested
20
22
-[`nservicebus.recoverability.error`](/monitoring/metrics/definitions.md#metrics-captured-moved-to-error-queue) - Total number of messages sent to the error queue
21
23
24
+
Meter source `NServiceBus.TransactionalSession`:
25
+
26
+
-[`nservicebus.transactional_session.commit.duration`](/monitoring/metrics/definitions.md#metrics-captured-transactional-session-metrics) - The time the endpoint takes to commit the session in the Transactional Session
27
+
-[`nservicebus.transactional_session.dispatch.duration`](/monitoring/metrics/definitions.md#metrics-captured-transactional-session-metrics) - The time the endpoint takes to dispatch the control message in the Transactional Session
28
+
-[`nservicebus.transactional_session.control_message.attempts`](/monitoring/metrics/definitions.md#metrics-captured-transactional-session-metrics) - Total number of attempts to process the control message in the Transactional Session
29
+
-[`nservicebus.transactional_session.control_message.transit_time`](/monitoring/metrics/definitions.md#metrics-captured-transactional-session-metrics) - The time between dispatching the control message and starting to process it in the Transactional Session
30
+
22
31
See the [OpenTelemetry samples](/samples/open-telemetry/) for instructions on how to send metric information to different tools.
0 commit comments