Skip to content

Commit

Permalink
Merge pull request #10 from CodethinkLabs/scott/optional_metrics
Browse files Browse the repository at this point in the history
Make metrics optional
  • Loading branch information
jjardon authored Sep 25, 2024
2 parents dbe2bd8 + b9ae7ae commit 573dabf
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@ casd_log_driver: ""
casd_log_options: {}

# casd metrics
casd_metrics_enabled: true
# Must be one of udp://<statsd_server>:<port>, file://<path> or stderr
casd_metrics_mode: "stderr"
casd_metrics_publish_interval_secs: 5
casd_metrics_publish_interval_secs: 15
casd_metrics_prefix: ""
casd_metrics_args: >-
--metrics-mode {{ casd_metrics_mode }}
Expand All @@ -44,7 +45,8 @@ casd_cmd: >-
{% if casd_quota_high %}--quota-high {{ casd_quota_high }}{% endif %}
{% if casd_quota_low %}--quota-low {{ casd_quota_low }}{% endif %}
{% if casd_reserved %}--reserved {{ casd_reserved }}{% endif %}
{{ casd_metrics_args }} {{ casd_proxy_cas_args }} {{ casd_proxy_ac_args }}
{% if casd_metrics_enabled %}{{ casd_metrics_args }}{% endif %}
{{ casd_proxy_cas_args }} {{ casd_proxy_ac_args }}
{{ casd_proxy_asset_args }} {{ casd_proxy_execution_args }} {{ casd_cache_mnt }}
casd_default_mounts:
- "{{ casd_cache }}:{{ casd_cache_mnt }}"
Expand Down

0 comments on commit 573dabf

Please sign in to comment.