Add CodiMD router metrics

parent 5f770ae3
......@@ -25,13 +25,28 @@ scrape_configs:
# Scrape CodiMD metrics
- job_name: codimd
honor_timestamps: true
scrape_interval: 5s
scrape_timeout: 5s
metrics_path: "/metrics/codimd"
scheme: "https"
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
static_configs:
- targets:
- "md.picasoft.net"
relabel_configs:
- source_labels: [__address__]
regex: ".*"
target_label: instance
replacement: "md.picasoft.net"
# Scrape Picasoft servers node-exporter
- job_name: "pica01"
static_configs:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment