profile
viewpoint

Ask questionsFailed to get server status. panic: collector has no descriptors

### Warning: the exporter is in beta/experimental state and field names are very
### likely to change in the future and features may change or get removed!
### See: https://github.com/percona/mongodb_exporter for updates
mongodb_exporter version: unknown, git commit hash: unknown
E1001 00:54:51.522797       1 server_status.go:117] Failed to get server status.
panic: collector has no descriptors

goroutine 1 [running]:
github.com/prometheus/client_golang/prometheus.(*Registry).MustRegister(0xc42003c880, 0xc4200f7c80, 0x1, 0x1)
	/go/src/github.com/prometheus/client_golang/prometheus/registry.go:353 +0x92
github.com/prometheus/client_golang/prometheus.MustRegister(0xc4200f7c80, 0x1, 0x1)
	/go/src/github.com/prometheus/client_golang/prometheus/registry.go:152 +0x53
main.registerCollector()
	/go/src/github.com/percona/mongodb_exporter/mongodb_exporter.go:186 +0x1cb
main.startWebServer()
	/go/src/github.com/percona/mongodb_exporter/mongodb_exporter.go:123 +0xc9
main.main()
	/go/src/github.com/percona/mongodb_exporter/mongodb_exporter.go:201 +0xce
dcu/mongodb_exporter

Answer questions JohnnieFucker

I have the same issue,is there any way to solve it?

useful!

Related questions

No questions were found.
source:https://uonfu.com/
Github User Rank List