Reverse Proxy Metrics?


Are there any xcaddy modules which can get reverse-proxy metrics like which service was called how many times, how much memory is each service using etc ?


1 Like

Nope. That would probably need to involve changes to the reverse_proxy module itself, it’s not really viable for a plugin to reach in to get information because there aren’t any hooks available for plugins to get that information.

The problem is that the core maintainers don’t have the experience or expertise to maintain the metrics functionality.

See the various open issues about metrics: Issues · caddyserver/caddy · GitHub

This is doable, but yeah, we’d have to enhance the current reverse_proxy module to count requests to each backend… but “how much memory each service is using” would require metrics coming from those services directly, not from Caddy.

This topic was automatically closed after 30 days. New replies are no longer allowed.