From 76fe097b30d4cd75ee15ca0e4a5e9b14c97e6b25 Mon Sep 17 00:00:00 2001 From: Gal Ben Haim Date: Wed, 5 Aug 2026 14:06:23 +0300 Subject: [PATCH] docs: update metrics performance note to reflect v2.11 improvement The note about metrics reducing performance on busy servers was added when metrics were made opt-in in v2.6.0 (Sep 2022). Since then, #7492 moved instrumentation from per-handler to per-route, yielding ~5x faster collection with ~5.6x fewer allocations, and shipped in v2.11.1. Update the note to reflect the improvement and link to the PR, instead of the stale call-to-action. AI Disclosure: This commit was assisted by AI (Cursor with Claude). Co-authored-by: Cursor --- src/docs/markdown/caddyfile/options.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/docs/markdown/caddyfile/options.md b/src/docs/markdown/caddyfile/options.md index 68451150..3138338e 100644 --- a/src/docs/markdown/caddyfile/options.md +++ b/src/docs/markdown/caddyfile/options.md @@ -1103,7 +1103,7 @@ Pairing with [`trusted_proxies`](#trusted-proxies), allows configuring which hea ##### `metrics` -Enables metrics collection; necessary before scraping metrics or pushing them with OTLP. Note that metrics reduce performance on really busy servers. (Our community is working on improving this. Please get involved!) +Enables metrics collection; necessary before scraping metrics or pushing them with OTLP. Note that metrics have some performance overhead on really busy servers, though this was [significantly improved in v2.11](https://github.com/caddyserver/caddy/pull/7492) by collecting metrics once per route instead of per handler. ```caddy {