1
0
Fork 0

v-m/scrape: Scrape MinIO metrics

pull/71/head
Dustin 2025-07-02 10:29:53 -05:00
parent 370c8486fa
commit cc83a5115a
1 changed files with 17 additions and 0 deletions

View File

@ -456,3 +456,20 @@ scrape_configs:
- source_labels:
- __meta_dns_name
target_label: instance
- job_name: minio-backups
metrics_path: /minio/v2/metrics/cluster
scheme: https
tls_config:
ca_file: /run/dch-ca/dch-root-ca.crt
dns_sd_configs:
- names:
- s3.backups.pyrocufflink.blue
type: A
port: 443
relabel_configs:
- source_labels: [__meta_dns_name, __meta_dns_srv_record_port]
separator: ':'
target_label: __address__
- source_labels: [__address__]
target_label: instance