v-m/scrape: Scrape Music Assistant via Blackbox
Music Assistant doesn't expose any metrics natively. Since we really only care about whether or not it's accessible, scraping it with the blackbox exporter is fine.pull/83/head
parent
c011a99165
commit
92cf0edc4b
|
@ -522,3 +522,19 @@ scrape_configs:
|
|||
target_label: instance
|
||||
- target_label: __address__
|
||||
replacement: blackbox-exporter:9115
|
||||
|
||||
- job_name: music-assistant
|
||||
metrics_path: /probe
|
||||
params:
|
||||
module:
|
||||
- http
|
||||
static_configs:
|
||||
- targets:
|
||||
- music.pyrocufflink.blue
|
||||
relabel_configs:
|
||||
- source_labels: [__address__]
|
||||
target_label: __param_target
|
||||
- source_labels: [__param_target]
|
||||
target_label: instance
|
||||
- target_label: __address__
|
||||
replacement: blackbox-exporter:9115
|
||||
|
|
Loading…
Reference in New Issue