Issue with native telemetry and http.prometheus

(Stanislas) #1

The native telemetry does not work for me:

And caddy-prometheus, which I planned to use with Telegraf,does not work

(Matt Holt) #2

That doesn’t look like a bug in the prometheus middleware: can you verify that files in vhosts/* are being loaded as you expect? (Try inlining the contents.) Right now your Caddyfile is malformed.

(Stanislas) #3

Hello Matt,

Looks like I forgot how to read…

In your Caddyfile :


For each virtual host that you want to see metrics for.

That last line solved my problem.

I am affected by the websocket+panic bug though: I have websites that rely on websockets and the plugin break them.

It seems there is currently no way for me to get metrics from caddy :cry: