Skip to content

Commit

Permalink
[Docs] Add event names to telemetry
Browse files Browse the repository at this point in the history
  • Loading branch information
martintmk committed Oct 3, 2023
1 parent 5a0e9bc commit 0bcccc6
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/advanced/telemetry.md
Original file line number Diff line number Diff line change
Expand Up @@ -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*
Expand Down

0 comments on commit 0bcccc6

Please sign in to comment.