Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
lmolkova authored Nov 14, 2024
1 parent 50f8a47 commit 712b76b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions model/kestrel/metrics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ groups:
conditionally_required: if and only if an error has occurred.
note: "Captures the exception type when a connection fails."
examples: ['System.OperationCanceledException', 'Contoso.MyException']
# yamllint disable rule:line-length
- ref: error.type
# TODO: move note to yaml once https://github.com/open-telemetry/build-tools/issues/192 is supported
note: |
Expand Down Expand Up @@ -98,6 +99,7 @@ groups:
| `write_canceled` | The cancellation of a response body write aborted the HTTP/1.1 connection. |
In other cases, `error.type` contains the fully qualified type name of the exception.
# yamllint enable rule:line-length
- id: metric.kestrel.rejected_connections
type: metric
metric_name: kestrel.rejected_connections
Expand Down

0 comments on commit 712b76b

Please sign in to comment.