Skip to content

Add option to use DogStatsD as telemetry provider #377

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions role_variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -972,6 +972,7 @@ available starting at Vault version 1.4.
- If enabled, you must set at least one of the following parameters according to your telemetry provider:
- *vault_statsite_address* with a format of "FQDN:PORT"
- *vault_statsd_address* with a format of "FQDN:PORT"
- *vault_dogstatsd_address* with a format of "FQDN:PORT"
- *vault_prometheus_retention_time* e.g: "30s" or "24h"
- If enabled, optionally set *vault_telemetry_disable_hostname* to strip the hostname prefix from telemetry data
- Default value: *false*
Expand Down
3 changes: 3 additions & 0 deletions templates/vault_main_configuration.hcl.j2
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,9 @@ telemetry {
{% if vault_statsd_address is defined %}
statsd_address = "{{vault_statsd_address}}"
{% endif -%}
{% if vault_dogstatsd_address is defined %}
dogstatsd_addr = "{{vault_dogstatsd_address}}"
{% endif -%}
{% if vault_prometheus_retention_time is defined %}
prometheus_retention_time = "{{ vault_prometheus_retention_time }}"
{% endif -%}
Expand Down