From 1f89844c67f914eebab16508314128dae38b9f67 Mon Sep 17 00:00:00 2001 From: towerhand <42445253+towerhand@users.noreply.github.com> Date: Sun, 9 Feb 2025 13:50:42 -0600 Subject: [PATCH] Use /api/metrics instead of /metrics (#16425) --- docs/docs/configuration/metrics.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/docs/configuration/metrics.md b/docs/docs/configuration/metrics.md index a12238f0a..662404205 100644 --- a/docs/docs/configuration/metrics.md +++ b/docs/docs/configuration/metrics.md @@ -5,7 +5,7 @@ title: Metrics # Metrics -Frigate exposes Prometheus metrics at the `/metrics` endpoint that can be used to monitor the performance and health of your Frigate instance. +Frigate exposes Prometheus metrics at the `/api/metrics` endpoint that can be used to monitor the performance and health of your Frigate instance. ## Available Metrics @@ -49,7 +49,7 @@ To scrape metrics from Frigate, add the following to your Prometheus configurati ```yaml scrape_configs: - job_name: 'frigate' - metrics_path: '/metrics' + metrics_path: '/api/metrics' static_configs: - targets: ['frigate:5000'] scrape_interval: 15s @@ -96,4 +96,4 @@ The metrics exposed by Frigate use the following Prometheus metric types: - **Gauge**: Values that can go up and down (e.g., `frigate_cpu_usage_percent`) - **Info**: Key-value pairs for metadata (e.g., `frigate_storage_mount_type`) -For more information about Prometheus metric types, see the [Prometheus documentation](https://prometheus.io/docs/concepts/metric_types/). \ No newline at end of file +For more information about Prometheus metric types, see the [Prometheus documentation](https://prometheus.io/docs/concepts/metric_types/).