Preserve labels on Immich scrape targets
This commit is contained in:
@@ -96,8 +96,16 @@ prometheus:
|
||||
static_configs:
|
||||
- targets:
|
||||
- 192.168.0.2:8082
|
||||
labels:
|
||||
endpoint: metrics
|
||||
namespace: prometheus
|
||||
service: external-immich-8082
|
||||
- job_name: external-immich-8083
|
||||
metrics_path: /metrics
|
||||
static_configs:
|
||||
- targets:
|
||||
- 192.168.0.2:8083
|
||||
labels:
|
||||
endpoint: metrics
|
||||
namespace: prometheus
|
||||
service: external-immich-8083
|
||||
|
||||
Reference in New Issue
Block a user