v-m/scrape: Scrape MinIO metrics
parent
370c8486fa
commit
cc83a5115a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue