- targets:
    - '{{ jcloud_app_server }}'
    - '{{ jcloud_db_server }}'
    {%- if jcloud_db_replica_server +%}
    - '{{ jcloud_db_replica_server }}'
    {%- endif +%}
  labels:
    job: node
    __metrics_path__: /metrics/node

- targets:
    - '{{ jcloud_app_server }}'
  labels:
    job: nginx
    __metrics_path__: /metrics/nginx

- targets:
    - '{{ jcloud_app_server }}'
  labels:
    job: cadvisor
    __metrics_path__: /metrics/cadvisor

- targets:
    - '{{ jcloud_db_server }}'
    {%- if jcloud_db_replica_server +%}
    - '{{ jcloud_db_replica_server }}'
    {%- endif +%}
  labels:
    job: mariadb
    __metrics_path__: /metrics/mariadb

- targets:
    - '{{ jcloud_app_server }}'
  labels:
    job: docker
    __metrics_path__: /metrics/docker

- targets:
    - '{{ jcloud_app_server }}'
  labels:
    job: gunicorn
    __metrics_path__: /metrics/gunicorn

- targets:
    - '{{ jcloud_app_server }}'
  labels:
    job: process
    __metrics_path__: /metrics/process

- targets:
    - '{{ jcloud_app_server }}'
  labels:
    job: rq
    __metrics_path__: /metrics/rq

- targets:
    - '{{ jcloud_app_server }}'
  labels:
    job: redis
    __metrics_path__: /metrics/redis

- targets:
    - '{{ jcloud_app_server }}'
  labels:
    job: jcloud
    __metrics_path__: /metrics/jcloud
