Monitor thot mtail

certbot_on_virtu
Alexandre Iooss 2020-04-15 00:04:03 +02:00
parent e208ded652
commit 08f840d0bc
No known key found for this signature in database
GPG Key ID: 6C79278F3FCDCC02
1 changed files with 12 additions and 0 deletions

View File

@ -103,6 +103,18 @@ scrape_configs:
- target_label: __address__ - target_label: __address__
replacement: 127.0.0.1:9115 replacement: 127.0.0.1:9115
- job_name: mtail
static_configs:
- targets: ["thot.adm.crans.org"]
relabel_configs:
# Do not put :3903 in instance name, rather here
- source_labels: [__address__]
target_label: instance
- source_labels: [instance]
target_label: __address__
replacement: '$1:3903'
- job_name: django - job_name: django
scheme: https scheme: https
static_configs: static_configs: