-
Notifications
You must be signed in to change notification settings - Fork 711
controller panic when reloading configuration #6687
Copy link
Copy link
Closed
Description
panic: duplicate metrics collector registration attempted │
│ │
│ goroutine 2913921 [running]: │
│ github.com/prometheus/client_golang/prometheus.(*Registry).MustRegister(0xb327120, {0xc00c21e710?, 0xc00452e540?, 0x5?}) │
│ /home/runner/go/pkg/mod/github.com/prometheus/client_golang@v1.22.0/prometheus/registry.go:406 +0x65 │
│ github.com/envoyproxy/gateway/internal/metrics/restclient.RegisterClientMetricsWithoutRequestTotal({0x8b84270, 0xb327120}) │
│ /home/runner/work/gateway/gateway/internal/metrics/restclient/metrics.go:73 +0x69 │
│ github.com/envoyproxy/gateway/internal/metrics.(*Runner).newOptions(0xc00cc16920) │
│ /home/runner/work/gateway/gateway/internal/metrics/register.go:115 +0x7ab │
│ github.com/envoyproxy/gateway/internal/metrics.(*Runner).Start(0xc00cc16920, {0xc00338b440?, 0xc00ae225a0?}) │
│ /home/runner/work/gateway/gateway/internal/metrics/register.go:49 +0x1c5 │
│ github.com/envoyproxy/gateway/internal/cmd.startRunner({0x8b99228, 0xc00ae225a0}, 0xc0005e19d0, {0x8b7e880, 0xc00cc16920}) │
│ /home/runner/work/gateway/gateway/internal/cmd/server.go:282 +0x10b │
│ github.com/envoyproxy/gateway/internal/cmd.startRunners({0x8b99228, 0xc00ae225a0}, 0xc0005e19d0) │
│ /home/runner/work/gateway/gateway/internal/cmd/server.go:232 +0x7e5 │
│ github.com/envoyproxy/gateway/internal/cmd.server.func1({0x8b99228, 0xc00ae225a0}, 0xc0005e19d0) │
│ /home/runner/work/gateway/gateway/internal/cmd/server.go:68 +0x70 │
│ github.com/envoyproxy/gateway/internal/envoygateway/config/loader.(*Loader).runHook.func1({0x8b99228?, 0xc00ae225a0?}) │
│ /home/runner/work/gateway/gateway/internal/envoygateway/config/loader/configloader.go:110 +0x2e │
│ created by github.com/envoyproxy/gateway/internal/envoygateway/config/loader.(*Loader).runHook in goroutine 64 │
│ /home/runner/work/gateway/gateway/internal/envoygateway/config/loader/configloader.go:109 +0x125Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels