2023-12-09 20:34:50 +01:00
|
|
|
global:
|
2024-01-29 21:08:01 +01:00
|
|
|
scrape_interval: 60s
|
2023-12-09 20:34:50 +01:00
|
|
|
scrape_timeout: 10s
|
|
|
|
scrape_configs:
|
|
|
|
- job_name: "photoprism"
|
|
|
|
metrics_path: "/api/v1/metrics"
|
|
|
|
oauth2:
|
|
|
|
client_id: "cs5cpu17n6gj2qo5"
|
|
|
|
client_secret: "xcCbOrw6I0vcoXzhnOmXhjpVSyFq0l0e"
|
|
|
|
token_url: "http://photoprism:2342/api/v1/oauth/token"
|
|
|
|
scopes:
|
|
|
|
- 'metrics'
|
|
|
|
endpoint_params:
|
|
|
|
grant_type: "client_credentials"
|
|
|
|
static_configs:
|
|
|
|
- targets: ["photoprism:2342"]
|