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

500 Response on varnish reload #74

Open
mbiencinto opened this issue Sep 14, 2021 · 2 comments
Open

500 Response on varnish reload #74

mbiencinto opened this issue Sep 14, 2021 · 2 comments

Comments

@mbiencinto
Copy link

  • Varnish varnish-6.2.1 revision 9f8588e4ab785244e06c3446fe09bf9db5dd8753
  • prometheus_varnish_exporter v1.6 (0855dcb)

I encontered a issue when i reload varnish, the output of metrics is a 500 Status code with this message:

http://myvarnishhost:9131/metrics

An error has occurred while serving metrics:

210 error(s) occurred:
* collected metric "varnish_backend_beresp_bodybytes" { label:<name:"backend" value:"es" > label:<name:"server" value:"unknown" > counter:<value:0 > } was collected before with the same name and label values
* collected metric "varnish_backend_pipe_in" { label:<name:"backend" value:"tod" > label:<name:"server" value:"unknown" > counter:<value:0 > } was collected before with the same 
....
  • If i restart the exporter, i get the same response.
  • If i wait 5~10 minutes sometimes the response is 200 with a normal metrics
  • if i restart varnishd the metrics works fine

In the production environment is not possible restart varnish becaus we lost all cached data.

I wait for you help. Thanks a lot!

@mbiencinto
Copy link
Author

mbiencinto commented Nov 23, 2021 via email

@hashworks
Copy link

This has already been fixed in 1.6.1, so I guess this can be closed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants