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