From 23467481c10b74a4619dc339c0a150219f62e1a8 Mon Sep 17 00:00:00 2001 From: FoxxMD Date: Fri, 27 Mar 2026 17:47:15 +0000 Subject: [PATCH 1/2] 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 From a6017577597e2e4f704ddea5aaf91fb6afdc3ce1 Mon Sep 17 00:00:00 2001 From: FoxxMD Date: Sat, 28 Mar 2026 22:16:02 +0000 Subject: [PATCH 2/2] docs: Add netlify badge to footer on preview docs --- docsite/docusaurus.config.ts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docsite/docusaurus.config.ts b/docsite/docusaurus.config.ts index 02f0f3b6..5359b872 100644 --- a/docsite/docusaurus.config.ts +++ b/docsite/docusaurus.config.ts @@ -252,4 +252,20 @@ if (process.env.RY_ANALYTICS !== undefined && process.env.RY_ANALYTICS !== '') { config.scripts.push(script) } +if(process.env.NETLIFY === 'true') { + // @ts-ignore + config.themeConfig.footer.links.push({ + title: 'Docs Powered By', + items: [ + { + html: ` + + Deploys by Netlify + + ` + } + ] + }); +} + export default config; -- 2.51.2