Files
coredns/man
Ville Vesilehto 32ea433a29 fix(metrics): preserve request size from plugins (#7313)
The rewrite plugin modifies DNS messages, affecting the request
size observed in the coredns_dns_request_size_bytes metric.

This change captures the original request size before any plugins
can modify it. It adds a functional options pattern to Report() to
pass this information while maintaining API compatibility.

Tests have been added to verify the fix prevents rewrite from
affecting the request size metrics.

Docs included.

Signed-off-by: Ville Vesilehto <ville@vesilehto.fi>
2025-05-22 06:38:22 -07:00
..
2021-03-08 11:15:45 +00:00
2021-03-08 11:15:45 +00:00
2021-03-08 11:15:45 +00:00
2021-03-08 11:15:45 +00:00
2021-03-08 11:15:45 +00:00
2021-03-18 06:39:10 +00:00
2021-03-08 11:15:45 +00:00
2021-03-08 11:15:45 +00:00
2021-03-08 11:15:45 +00:00
2021-03-08 11:15:45 +00:00
2021-03-08 11:15:45 +00:00
2021-03-08 11:15:45 +00:00
2021-03-08 11:15:45 +00:00
2021-03-08 11:15:45 +00:00
2021-03-08 11:15:45 +00:00
2021-03-08 11:15:45 +00:00
2021-03-08 11:15:45 +00:00
2021-03-08 11:15:45 +00:00
2021-03-16 12:51:42 +00:00
2021-03-08 11:15:45 +00:00
2021-07-18 10:30:13 +00:00
2021-03-08 11:15:45 +00:00
2021-03-08 11:15:45 +00:00
2021-03-08 11:15:45 +00:00
2021-03-08 11:15:45 +00:00
2021-03-08 11:15:45 +00:00
2021-03-08 11:15:45 +00:00
2021-03-08 11:15:45 +00:00
2021-03-08 11:15:45 +00:00
2021-03-15 14:42:45 +00:00
2021-03-08 11:15:45 +00:00
2021-03-08 11:15:45 +00:00
2021-03-08 11:15:45 +00:00
2021-03-08 11:15:45 +00:00
2021-03-08 11:15:45 +00:00
2021-03-08 11:15:45 +00:00
2021-03-08 11:15:45 +00:00
2021-03-08 11:15:45 +00:00
2021-03-15 14:42:45 +00:00
2021-03-08 11:15:45 +00:00
2021-03-08 11:15:45 +00:00
2021-03-08 11:15:45 +00:00
2021-03-08 11:15:45 +00:00
2022-07-03 10:30:40 +00:00
2021-03-08 11:15:45 +00:00
2021-05-28 07:08:13 -07:00
2021-03-08 11:15:45 +00:00