Skip to content

Commit

Permalink
yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
lmolkova committed Jun 14, 2023
1 parent d87f263 commit f967a27
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions semantic_conventions/metrics/http.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ groups:
brief: 'HTTP server attributes'
extends: attributes.http.server
attributes:
- ref: http.request.method
- ref: http.response.status_code
- ref: network.protocol.name
- ref: network.protocol.version
- ref: server.address
brief: >
Name of the local HTTP server that received the request.
Expand All @@ -34,11 +30,18 @@ groups:
- Port identifier of the [request target](https://www.rfc-editor.org/rfc/rfc9110.html#target.resource)
if it's sent in absolute-form.
- Port identifier of the `Host` header
# todo (lmolkova) build tools don't populate grandparent attributes
- ref: http.request.method
- ref: http.response.status_code
- ref: network.protocol.name
- ref: network.protocol.version

- id: metric_attributes.http.client
type: attribute_group
brief: 'HTTP client attributes'
extends: attributes.http.client
attributes:
# todo (lmolkova) build tools don't populate grandparent attributes
- ref: http.request.method
- ref: http.response.status_code
- ref: network.protocol.name
Expand Down Expand Up @@ -131,4 +134,4 @@ groups:
brief: "Measures the size of HTTP response messages (compressed)."
instrument: histogram
unit: "By"
extends: metric_attributes.http.client
extends: metric_attributes.http.client

0 comments on commit f967a27

Please sign in to comment.