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

Prometheus Scraping Issues #193

Open
rhysxevans opened this issue May 22, 2023 · 0 comments
Open

Prometheus Scraping Issues #193

rhysxevans opened this issue May 22, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@rhysxevans
Copy link

Hi

Using the helm chart here, when defining the servicemonitor as enabled the prometheus port is not defined, ie container ports should look like

containerPorts:
  http: 80
  https: 443
  stat: 1024
  prometheus: 1024

with a matching config section that looks like

  frontend stats
     bind :1024
     http-request use-service prometheus-exporter if { path /metrics }
     stats enable
     stats uri /stats
     stats refresh 10s
     no log

The other option would be to set https://github.com/haproxytech/helm-charts/blob/main/haproxy/values.yaml#L492 to stat , but that seems a bit iffy

Thoughts

Thanks

@dkorunic dkorunic self-assigned this May 22, 2023
@dkorunic dkorunic added the enhancement New feature or request label May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants