Merge pull request '增加 elastic_delays_metric_enabled 开关' (#43) from pengln/filebeat:master into master

Reviewed-on: https://app.huanyuantech.com:10301/gitea/ansible-collection/filebeat/pulls/43
This commit is contained in:
pengln 2021-12-22 14:53:21 +08:00
commit 877e7b2a3f
3 changed files with 5 additions and 1 deletions

View File

@ -8,5 +8,8 @@
vars:
log_type: "{{ item }}"
with_items: "{{ deploy_logs }}"
- name: Update Alerts Script With Cron
ansible.builtin.shell: "svn up /data/ops/script/monitor.sh; chmod 755 /data/ops/script/monitor.sh"

View File

@ -4,4 +4,5 @@ filebeat_config_path: {{ filebeat_logs[log_type]['filebeat_config_path'] | defau
metric_host: {{ filebeat_monitor_sock | default('./filebeat_monitor.sock') }}
push_gateway_url: {{ filebeat_monitor_push_gateway | default('') }}
push_gateway_lifecycle: {{ filebeat_monitor_push_lifecycle | default(5) }}
log_path: {{ filebeat_monitor_log_path | default('logs/filebeat_monitor.log') }}
log_path: {{ filebeat_monitor_log_path | default('logs/filebeat_monitor.log') }}
elastic_delays_metric_enabled: {{ elastic_delays_metric_enabled | default('false')}}