Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

caddy_reverse_proxy_upstreams_healthy missing in metrics page #6773

Open
Sebclem opened this issue Jan 8, 2025 · 2 comments
Open

caddy_reverse_proxy_upstreams_healthy missing in metrics page #6773

Sebclem opened this issue Jan 8, 2025 · 2 comments
Assignees
Labels
bug 🐞 Something isn't working

Comments

@Sebclem
Copy link

Sebclem commented Jan 8, 2025

Since update to 2.9.0, all the caddy_reverse_proxy_upstreams_healthy metrics are missing in the Prometheus metrics page.
All the others metrics are present, but those ones are missing.
I have checked the release note, and I don't see anything related to this. I have already moved metric out of servers
Here a part of my config :

{
  servers {
    trusted_proxies static 10.0.0.0/8
  }
  metrics {
    per_host
  }
  admin :2019
}


xxxxx.xxxxx.xxxx {
  tls /etc/ssl/acme/-.xxxxxx/fullchain.pem /etc/ssl/acme/-.xxxxxxx/key.pem
  reverse_proxy xxxxxx.xxxx:8096 {
    health_uri /health
    health_follow_redirects
    health_fails 3
    health_timeout 20s
  }
  log {
    output file /var/log/caddy/xxxxx.xxxxx.xxxx.log {
      roll_size 50mb
      roll_local_time
    }
  }
  handle_errors {
    root /srv
    rewrite * /{err.status_code}.html
    file_server
  }
}

@mohammed90 mohammed90 self-assigned this Jan 8, 2025
@mohammed90 mohammed90 added the bug 🐞 Something isn't working label Jan 8, 2025
@mohammed90
Copy link
Member

Sorry. I missed wiring that up when I worked on metrics.

@jeroenvermeulen

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐞 Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants