Skip to content

Commit

Permalink
Issue #0000 feat: updated the flink secor in process exporter config
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaali09 committed Jul 9, 2020
1 parent 12c1048 commit 8863afd
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion ansible/roles/vm-agents-processexporter/templates/config.j2
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,14 @@ process_names:
cmdline:
- .+secor.+
{% endif %}
{% if 'kafka-ps' in group_names and hostvars[inventory_hostname]['ansible_default_ipv4']['address'] in groups['kafka-ps'] %}
{% if 'flinksecor-ps' in group_names and hostvars[inventory_hostname]['ansible_default_ipv4']['address'] in groups['flinksecor-ps'] %}
- name: "flinksecor"
comm:
- java
cmdline:
- .+secor.+
{% endif %}
{% if 'zookeeper-ps' in group_names and hostvars[inventory_hostname]['ansible_default_ipv4']['address'] in groups['zookeeper-ps'] %}
- name: "zookeeper"
comm:
- java
Expand Down

0 comments on commit 8863afd

Please sign in to comment.