Browse Source

Allow for configuring etcd progress notify interval and default set to 5s (#11499)

pull/11441/head
刘旭 2 months ago
committed by GitHub
parent
commit
3da6c4fc18
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
3 changed files with 8 additions and 0 deletions
  1. 3
      inventory/sample/group_vars/etcd.yml
  2. 3
      roles/etcd/defaults/main.yml
  3. 2
      roles/etcd/templates/etcd.env.j2

3
inventory/sample/group_vars/etcd.yml

@ -33,3 +33,6 @@
# etcd_experimental_distributed_tracing_sample_rate: 100
# etcd_experimental_distributed_tracing_address: "localhost:4317"
# etcd_experimental_distributed_tracing_service_name: etcd
## The interval for etcd watch progress notify events
# etcd_experimental_watch_progress_notify_interval: 5s

3
roles/etcd/defaults/main.yml

@ -125,3 +125,6 @@ etcd_experimental_enable_distributed_tracing: false
etcd_experimental_distributed_tracing_sample_rate: 100
etcd_experimental_distributed_tracing_address: "localhost:4317"
etcd_experimental_distributed_tracing_service_name: etcd
# The interval for etcd watch progress notify events
etcd_experimental_watch_progress_notify_interval: 5s

2
roles/etcd/templates/etcd.env.j2

@ -76,3 +76,5 @@ ETCD_EXPERIMENTAL_DISTRIBUTED_TRACING_ADDRESS={{ etcd_experimental_distributed_t
ETCD_EXPERIMENTAL_DISTRIBUTED_TRACING_SERVICE_NAME={{ etcd_experimental_distributed_tracing_service_name }}
ETCD_EXPERIMENTAL_DISTRIBUTED_TRACING_INSTANCE_ID={{ etcd_member_name }}
{% endif %}
ETCD_EXPERIMENTAL_WATCH_PROGRESS_NOTIFY_INTERVAL={{ etcd_experimental_watch_progress_notify_interval }}
Loading…
Cancel
Save