v-m/scrape: Scrape Victoria Logs
parent
61460e56e9
commit
093e909475
|
@ -242,6 +242,22 @@ scrape_configs:
|
||||||
- source_labels: [__address__]
|
- source_labels: [__address__]
|
||||||
target_label: instance
|
target_label: instance
|
||||||
|
|
||||||
|
- job_name: victoria-logs
|
||||||
|
scheme: https
|
||||||
|
tls_config:
|
||||||
|
ca_file: /run/dch-ca/dch-root-ca.crt
|
||||||
|
dns_sd_configs:
|
||||||
|
- names:
|
||||||
|
- logs.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
|
||||||
|
|
||||||
- job_name: promtail
|
- job_name: promtail
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets:
|
- targets:
|
||||||
|
|
Loading…
Reference in New Issue