- targets:
    - '{{ jcloude_app_server }}'
    - '{{ jcloude_db_server }}'
    {%- if jcloude_db_replica_server +%}
    - '{{ jcloude_db_replica_server }}'
    {%- endif +%}
  labels:
    job: node
    __metrics_path__: /metrics/node

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

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

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

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

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

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

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

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

- targets:
    - '{{ jcloude_app_server }}'
  labels:
    job: jcloude
    __metrics_path__: /metrics/jcloude
