Skip to content

Commit

Permalink
Allow for configuring etcd progress notify interval and default set t…
Browse files Browse the repository at this point in the history
…o 5s
  • Loading branch information
liuxu623 committed Sep 3, 2024
1 parent e744a11 commit 98064ce
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions inventory/sample/group_vars/etcd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 3 additions & 0 deletions roles/etcd/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 2 additions & 0 deletions roles/etcd/templates/etcd.env.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 98064ce

Please sign in to comment.