And I know and have setup monitoring of caddy.
Now I expected to also see/get the upstream data from Caddy into Prometheus (and from there in Grafana).
However, I see “only” these metrics are exposed:
So is there a way to get that data too in Prometheus?
As we/you can see, it is obviously available.
To be frank, @hairyhenderson introduced the metrics feature to Caddy, but neither Matt or I really know how to use it or maintain it .
(As an aside, the way metrics are set up in Caddy is somewhat incompatible with the way Caddy is configured, i.e. reloadable config, because the metrics can’t be changed once they’re first set up when the process starts. Ideally, metrics would be configurable, so certain things could be opt-in/out, and certain labels could be added dynamically… or something. But that’s not how it works )