From 0bcccc607fa7482ff7d0a1f201c39cacf08c4419 Mon Sep 17 00:00:00 2001 From: Martin Tomka Date: Tue, 3 Oct 2023 11:11:08 +0200 Subject: [PATCH] [Docs] Add event names to telemetry --- docs/advanced/telemetry.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/advanced/telemetry.md b/docs/advanced/telemetry.md index 7c80fcfe9fb..1831227f763 100644 --- a/docs/advanced/telemetry.md +++ b/docs/advanced/telemetry.md @@ -118,6 +118,19 @@ Tags: |`operation.key`| The operation key associated with the call site. | |`exception.type`| The full name of the exception assigned to the execution result (`System.InvalidOperationException`). | +#### Event names + +The `event.name` is reported by individual resilience strategy. The built-in strategies report the following events: + +- `OnRetry` +- `OnFallback` +- `OnHedging` +- `OnTimeout` +- `OnCircuitClosed` +- `OnCircuitOpened` +- `OnCircuitHalfOpened` +- `OnRateLimiterRejected` + ### Instrument: `resilience.polly.strategy.attempt.duration` - Type: *Histogram*