docs: Add prometheus usage

This commit is contained in:
FoxxMD 2026-03-27 17:47:15 +00:00
parent 3f19abb899
commit 30cdc9f553

View file

@ -726,4 +726,25 @@ It includes metrics for:
* Number of issues per Source/Client
* If any of these metrics is > 0 it means your Source/Client is not operating normally
Additionally, general process metrics like cpu and memory usage can be enabled with the env `PROMETHEUS_FULL=true`
Additionally, general process metrics like cpu and memory usage can be enabled with the env `PROMETHEUS_FULL=true`
<details>
<summary>Example Usage</summary>
Update your [Prometheus Configuration file](https://prometheus.io/docs/prometheus/latest/configuration/configuration/#configuration-file) (usually at `/etc/prometheus.yml`) to add a job to the `scrape_configs`[section](https://prometheus.io/docs/prometheus/latest/configuration/configuration/#scrape_config) like this:
```yaml
scrape_configs:
#
# ...your other jobs are here
#
- job_name: multi-scrobbler
scrape_interval: 30s
metrics_path: '/api/metrics'
static_configs:
- targets: ['myMultiscrobblerIp:9078']
```
</details>