pull/19663/head
Ashvitha Sridharan 2023-11-16 12:52:09 -05:00
parent 74e632ea57
commit 4a9a7a1f83
1 changed files with 1 additions and 3 deletions

View File

@ -194,9 +194,7 @@ the [`sidecar_service`](/consul/docs/connect/proxies/deploy-sidecar-services) bl
- `envoy_telemetry_collector_bind_socket_dir` - Specifies the directory where Envoy creates a Unix socket.
Envoy sends metrics to the socket where a Consul telemetry collector can collect them.
The socket is not configured by default.
Enabling this feature sets Envoy's [`stats_flush_interval`](https://www.envoyproxy.io/docs/envoy/v1.17.2/api-v3/config/bootstrap/v3/bootstrap.proto#envoy-v3-api-field-config-bootstrap-v3-bootstrap-stats-flush-interval) to 1 minute by default to reduce the number of metric samples.
However, the`stats_flush_interval` default is not applied if a custom stats sink is configured using `envoy_statsd_url`,`envoy_dogstatsd_url` or `envoy_extra_stats_sinks_json`.
For a custom metric flush interval, configure a `envoy_stats_flush_interval` value explicitly.
Enabling this sets Envoy's [`stats_flush_interval`](https://www.envoyproxy.io/docs/envoy/v1.17.2/api-v3/config/bootstrap/v3/bootstrap.proto#envoy-v3-api-field-config-bootstrap-v3-bootstrap-stats-flush-interval) to one minute if `envoy_stats_flush_interval` is unset and if no other stats sinks are configured, like `envoy_dogstats_url`, for instance.
The [Advanced Configuration](#advanced-configuration) section describes additional configurations that allow incremental or complete control over the bootstrap configuration generated.