caddy icon indicating copy to clipboard operation
caddy copied to clipboard

Add support for pushint oltp metrics

Open tiny-pangolin opened this issue 1 month ago • 3 comments

Issue Details

I would like the ability to have metrics pushed in otel format so I can resuse dashboards and alerting rules between caddy and other reverse proxies that follow otel semantic conventions

Assistance Disclosure

AI not used

If AI was used, describe the extent to which it was used.

No response

tiny-pangolin avatar Nov 27 '25 23:11 tiny-pangolin

That's already supported https://caddyserver.com/docs/metrics#caddys-metrics unless I misunderstand

francislavoie avatar Nov 28 '25 00:11 francislavoie

Those metrics are exposed in Prometheus format which is what I'm using now, but it would nice if caddy could be configured to push the metrics using the otlp protocol and follow the semantic conventions for http requests

tiny-pangolin avatar Nov 28 '25 02:11 tiny-pangolin

Okay, seems related to https://github.com/caddyserver/caddy/issues/5743. Duplicate?

As I wrote there, most of Caddy's core maintainers don't use tracing or metrics ourselves, so we need to lean on the community to contribute improvements.

francislavoie avatar Nov 28 '25 03:11 francislavoie