Skip to content

Commit

Permalink
Add note
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin committed Jan 31, 2024
1 parent 24a6e47 commit c52e382
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions content/en/docs/collector/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,23 @@ which provide capabilities that can be added to the Collector, such as
diagnostic tools. Extensions don't require direct access to telemetry data and
are enabled through the [service](#service) section.

The following is an example of Collector configuration with a receiver, a
processor, an exporter, and three extensions:
<a id="endpoint-0.0.0.0-warning"></a> The following is an example of
Collector configuration with a receiver, a processor, an exporter, and three
extensions.

{{% alert title="Important" color="warning" %}}

While it is generally preferable to bind endpoints to `localhost` when all
clients are local, our example configurations use the "unspecified" address
`0.0.0.0` as a convenience. The Collector currently defaults to `0.0.0.0`, but
the default will be changed to `localhost` in the near future. For details
concerning either of these choices as endpoint configuration value, see
[Safeguards against denial of service attacks].

[Safeguards against denial of service attacks]:
https://github.com/open-telemetry/opentelemetry-collector/blob/main/docs/security-best-practices.md#safeguards-against-denial-of-service-attacks

{{% /alert %}}

```yaml
receivers:
Expand Down

0 comments on commit c52e382

Please sign in to comment.