Skip to content

Commit 58959e2

Browse files
authored
[Docs] Add event names to telemetry (#1674)
1 parent eb56dcc commit 58959e2

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

docs/advanced/telemetry.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,19 @@ Tags:
119119
|`operation.key`| The operation key associated with the call site. |
120120
|`exception.type`| The full name of the exception assigned to the execution result (`System.InvalidOperationException`). |
121121

122+
#### Event names
123+
124+
The `event.name` tag is reported by individual resilience strategies. The built-in strategies report the following events:
125+
126+
- `OnRetry`
127+
- `OnFallback`
128+
- `OnHedging`
129+
- `OnTimeout`
130+
- `OnCircuitClosed`
131+
- `OnCircuitOpened`
132+
- `OnCircuitHalfOpened`
133+
- `OnRateLimiterRejected`
134+
122135
### Instrument: `resilience.polly.strategy.attempt.duration`
123136

124137
- Type: *Histogram*
@@ -130,7 +143,7 @@ Tags:
130143

131144
|Name|Description|
132145
|---| ---|
133-
|`event.name`| The name of the emitted event.|
146+
|`event.name`| The name of the emitted event. Currently, the event name is always `ExecutionAttempt`. |
134147
|`event.severity`| The severity of the event (`Debug`, `Information`, `Warning`, `Error`, `Critical`).|
135148
|`pipeline.name`| The name of the pipeline corresponding to the resilience pipeline.|
136149
|`pipeline.instance`| The instance name of the pipeline corresponding to the resilience pipeline.|

0 commit comments

Comments
 (0)