zulip/puppet/zulip_ops/files/process_exporter.yaml

27 lines
715 B
YAML
Raw Normal View History

process_names:
- name: "tornado-{{.Matches.Port}}"
comm:
- python3
cmdline:
- runtornado\s+127\.0\.0\.1:(?P<Port>\S+)
- name: "uwsgi-{{.Matches.Worker}}"
comm:
- uwsgi
cmdline:
- zulip-django uWSGI worker (?P<Worker>\d+)
- name: process_fts_updates
comm:
- python3
cmdline:
- /usr/local/bin/process_fts_updates
- name: "worker-{{.Matches.Queue}}"
comm:
- python3
cmdline:
- /home/zulip/deployments/current/manage.py process_queue --queue_name=(?P<Queue>\S+)
- name: "deliver-scheduled-{{.Matches.What}}"
comm:
- python3
cmdline:
- /home/zulip/deployments/current/manage.py deliver_scheduled_(?P<What>\S+)