mirror of
https://github.com/matter-labs/ansible-en-role.git
synced 2025-12-06 02:49:55 +00:00
## What ❔ Remove node exporter from monitoring ## Why ❔ Redundant for this context ## Checklist <!-- Check your PR fulfills the following items. --> <!-- For draft PRs check the boxes as you complete them. --> - [x] PR title corresponds to the body of PR (we generate changelog entries from PRs). - [x] Documentation comments have been added / updated.
41 lines
1.1 KiB
Django/Jinja
41 lines
1.1 KiB
Django/Jinja
scrape_configs:
|
|
- job_name: external-node
|
|
static_configs:
|
|
- targets: ['external_node:{{ metrics_port }}']
|
|
relabel_configs:
|
|
- source_labels: [instance]
|
|
target_label: instance
|
|
replacement: '{{ node_name | mandatory }}'
|
|
- job_name: vmagent
|
|
static_configs:
|
|
- targets:
|
|
- "127.0.0.1:8429"
|
|
relabel_configs:
|
|
- source_labels: [instance]
|
|
target_label: instance
|
|
replacement: '{{ node_name | mandatory }}'
|
|
- job_name: cadvisor
|
|
static_configs:
|
|
- targets:
|
|
- "cadvisor:8080"
|
|
relabel_configs:
|
|
- source_labels: [instance]
|
|
target_label: instance
|
|
replacement: '{{ node_name | mandatory }}'
|
|
- job_name: postgres-exporter
|
|
static_configs:
|
|
- targets:
|
|
- "postgres-exporter:9187"
|
|
relabel_configs:
|
|
- source_labels: [instance]
|
|
target_label: instance
|
|
replacement: '{{ node_name | mandatory }}'
|
|
- job_name: traefik
|
|
static_configs:
|
|
- targets:
|
|
- "traefik:8080"
|
|
relabel_configs:
|
|
- source_labels: [instance]
|
|
target_label: instance
|
|
replacement: '{{ node_name | mandatory }}'
|