From 30cdc9f55396366c4e76ed141499c9c0956c6e11 Mon Sep 17 00:00:00 2001 From: FoxxMD Date: Fri, 27 Mar 2026 17:47:15 +0000 Subject: [PATCH] docs: Add prometheus usage --- docsite/docs/configuration/configuration.mdx | 23 +++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/docsite/docs/configuration/configuration.mdx b/docsite/docs/configuration/configuration.mdx index 4d363482..c6e0da13 100644 --- a/docsite/docs/configuration/configuration.mdx +++ b/docsite/docs/configuration/configuration.mdx @@ -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` \ No newline at end of file +Additionally, general process metrics like cpu and memory usage can be enabled with the env `PROMETHEUS_FULL=true` + +
+ +Example Usage + +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'] +``` + + +
\ No newline at end of file -- 2.51.2