Skip to content
Snippets Groups Projects
Verified Commit 937ce6e7 authored by Quentin Duchemin's avatar Quentin Duchemin
Browse files

Remove relabelling when unecessary

parent 18d4fa45
Branches
No related tags found
1 merge request!65Add alerting
...@@ -24,7 +24,6 @@ scrape_configs: ...@@ -24,7 +24,6 @@ scrape_configs:
- "voice.picasoft.net" - "voice.picasoft.net"
# Scrape CodiMD metrics # Scrape CodiMD metrics
- job_name: codimd - job_name: codimd
honor_timestamps: true
metrics_path: "/metrics/codimd" metrics_path: "/metrics/codimd"
scheme: "https" scheme: "https"
basic_auth: basic_auth:
...@@ -33,13 +32,7 @@ scrape_configs: ...@@ -33,13 +32,7 @@ scrape_configs:
static_configs: static_configs:
- targets: - targets:
- "md.picasoft.net" - "md.picasoft.net"
relabel_configs:
- source_labels: [__address__]
regex: ".*"
target_label: instance
replacement: "md.picasoft.net"
- job_name: codimd-router - job_name: codimd-router
honor_timestamps: true
metrics_path: /metrics/router metrics_path: /metrics/router
scheme: https scheme: https
basic_auth: basic_auth:
...@@ -48,11 +41,6 @@ scrape_configs: ...@@ -48,11 +41,6 @@ scrape_configs:
static_configs: static_configs:
- targets: - targets:
- "md.picasoft.net" - "md.picasoft.net"
relabel_configs:
- source_labels: [__address__]
regex: ".*"
target_label: instance
replacement: "md.picasoft.net"
# Scrape PrivateBin metrics # Scrape PrivateBin metrics
- job_name: privatebin - job_name: privatebin
metrics_path: /metrics.php metrics_path: /metrics.php
...@@ -63,11 +51,6 @@ scrape_configs: ...@@ -63,11 +51,6 @@ scrape_configs:
static_configs: static_configs:
- targets: - targets:
- "paste.picasoft.net" - "paste.picasoft.net"
relabel_configs:
- source_labels: [__address__]
regex: ".*"
target_label: instance
replacement: "paste.picasoft.net"
# Scrape Mattermost metrics # Scrape Mattermost metrics
- job_name: mattermost - job_name: mattermost
scheme: "https" scheme: "https"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment