Skip to content

Commit

Permalink
Remove outdated note about not recording HTTP server.address when onl…
Browse files Browse the repository at this point in the history
…y IP address available
  • Loading branch information
trask committed Oct 16, 2023
1 parent cee22ec commit 790bcad
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 9 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ release.
([#401](https://github.com/open-telemetry/semantic-conventions/pull/401))
- Change `server.port` from recommended to conditionally required on HTTP server semconv.
([#399](https://github.com/open-telemetry/semantic-conventions/pull/399))
- Remove outdated note about not recording HTTP `server.address` when only IP address available.
([#413](https://github.com/open-telemetry/semantic-conventions/pull/413))

## v1.22.0 (2023-10-12)

Expand Down
8 changes: 3 additions & 5 deletions docs/http/http-metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ SHOULD include the [application root](/docs/http/http-spans.md#http-server-defin
if it's sent in absolute-form.
- Host identifier of the `Host` header

SHOULD NOT be set if only IP address is available and capturing name would require a reverse DNS lookup.
MUST NOT include the port identifier.

**[7]:** Determined by using the first of the following that applies

Expand Down Expand Up @@ -207,8 +207,6 @@ Tracing instrumentations that do so, MUST also set `http.request.method_original
if it's sent in absolute-form.
- Host identifier of the `Host` header

SHOULD NOT be set if only IP address is available and capturing name would require a reverse DNS lookup.

Warning: since this attribute may be based on the `Host` header, opting in to it may allow an attacker
to trigger cardinality limits, degrading the usefulness of the metric.

Expand Down Expand Up @@ -312,7 +310,7 @@ SHOULD include the [application root](/docs/http/http-spans.md#http-server-defin
if it's sent in absolute-form.
- Host identifier of the `Host` header

SHOULD NOT be set if only IP address is available and capturing name would require a reverse DNS lookup.
MUST NOT include the port identifier.

**[7]:** Determined by using the first of the following that applies

Expand Down Expand Up @@ -417,7 +415,7 @@ SHOULD include the [application root](/docs/http/http-spans.md#http-server-defin
if it's sent in absolute-form.
- Host identifier of the `Host` header

SHOULD NOT be set if only IP address is available and capturing name would require a reverse DNS lookup.
MUST NOT include the port identifier.

**[7]:** Determined by using the first of the following that applies

Expand Down
2 changes: 1 addition & 1 deletion docs/http/http-spans.md
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ SHOULD include the [application root](/docs/http/http-spans.md#http-server-defin
if it's sent in absolute-form.
- Host identifier of the `Host` header

SHOULD NOT be set if only IP address is available and capturing name would require a reverse DNS lookup.
MUST NOT include the port identifier.

**[5]:** Determined by using the first of the following that applies

Expand Down
2 changes: 1 addition & 1 deletion model/http-common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ groups:
if it's sent in absolute-form.
- Host identifier of the `Host` header
SHOULD NOT be set if only IP address is available and capturing name would require a reverse DNS lookup.
MUST NOT include the port identifier.
- ref: server.port
brief: >
Expand Down
2 changes: 0 additions & 2 deletions model/metrics/http.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ groups:
if it's sent in absolute-form.
- Host identifier of the `Host` header
SHOULD NOT be set if only IP address is available and capturing name would require a reverse DNS lookup.
Warning: since this attribute may be based on the `Host` header, opting in to it may allow an attacker
to trigger cardinality limits, degrading the usefulness of the metric.
Expand Down

0 comments on commit 790bcad

Please sign in to comment.