-
Notifications
You must be signed in to change notification settings - Fork 926
Description
panic: runtime error: index out of range [13] with length 13
goroutine 33 [running]:
github.com/oliver006/redis_exporter/exporter.(*Exporter).extractConfigMetrics(0xc0001026c8, 0xc0001e5ce0, {0xc0000bec88, 0x180, 0xc0002ba740?})
/go/src/github.com/oliver006/redis_exporter/exporter/exporter.go:656 +0xb45
github.com/oliver006/redis_exporter/exporter.(*Exporter).scrapeRedisHost(0xc0001026c8, 0xc0001e5ce0)
/go/src/github.com/oliver006/redis_exporter/exporter/exporter.go:728 +0x825
github.com/oliver006/redis_exporter/exporter.(*Exporter).Collect(0xc0001026c8, 0xc0001e5ce0)
/go/src/github.com/oliver006/redis_exporter/exporter/exporter.go:583 +0xd6
github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1()
/go/pkg/mod/github.com/prometheus/[email protected]/prometheus/registry.go:456 +0x105
created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather in goroutine 27
/go/pkg/mod/github.com/prometheus/[email protected]/prometheus/registry.go:548 +0xbef