Skip to content

500 Response on varnish reload #74

@mbiencinto

Description

@mbiencinto
  • 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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions