Commit d0ca84f1 authored by Tobias Winchen's avatar Tobias Winchen
Browse files

Add max_interval option to sidecar

parent 423f5d64
......@@ -28,7 +28,7 @@
- docker_container:
name: "{{ pipeline_id }}_influx_sidecar"
image: "{{ docker_registry }}:{{ docker_registry_port }}/katcp2influx_sidecar"
command: "python katcp_monitor/influxdb_exporter.py --host {{ katcp_host }} --port {{ katcp_port }} --db-host={{ influx_host }} --db-port {{ influxdb_port }} --idb-db=monitor --measurement={{ measurement }} --idb-tags pipeline_id={{ pipeline_id }} {% if influx_exclude_sensors is defined and influx_exclude_sensors %}--exclude_sensors {{ influx_exclude_sensors | join(' ')}}{%endif%}{% if include_sensors is defined and include_sensors %}--include_sensors {{ include_sensors | join(' ')}}{%endif%}"
command: "python katcp_monitor/influxdb_exporter.py --host {{ katcp_host }} --port {{ katcp_port }} --db-host={{ influx_host }} --db-port {{ influxdb_port }} --idb-db=monitor --measurement={{ measurement }} --idb-tags pipeline_id={{ pipeline_id }} {% if influx_exclude_sensors is defined and influx_exclude_sensors %}--exclude_sensors {{ influx_exclude_sensors | join(' ')}}{%endif%}{% if include_sensors is defined and include_sensors %}--include_sensors {{ include_sensors | join(' ')}}{%endif%} --max_interval={{ max_interval }}"
state: started # ensure that is running
pull: yes
......
......@@ -28,7 +28,7 @@
- docker_container:
name: "{{ pipeline_id }}_redis_sidecar"
image: "{{ docker_registry }}:{{ docker_registry_port }}/katcp2redis_sidecar"
command: "python katcp_monitor/redis_exporter.py --host {{ katcp_host }} --port {{ katcp_port }} --db-host={{ redis_storage }} --db-port={{ redis_port }} --db=5 --measurement={{ pipeline_id }} {% if exclude_sensors is defined and exclude_sensors %}--exclude_sensors {{ exclude_sensors | join(' ')}}{%endif%}{% if include_sensors is defined and include_sensors %}--include_sensors {{ include_sensors | join(' ')}}{%endif%}"
command: "python katcp_monitor/redis_exporter.py --host {{ katcp_host }} --port {{ katcp_port }} --db-host={{ redis_storage }} --db-port={{ redis_port }} --db=5 --measurement={{ pipeline_id }} {% if exclude_sensors is defined and exclude_sensors %}--exclude_sensors {{ exclude_sensors | join(' ')}}{%endif%}{% if include_sensors is defined and include_sensors %}--include_sensors {{ include_sensors | join(' ')}}{%endif%} --max_interval={{ max_interval }}"
state: started # ensure that is running
pull: yes
# auto_remove: yes
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment