You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cups Exporter crashes when we try to query the metrics.
Operating system: Arch Linux (Rolling Release)
Cups version: 2.4.7-2
cups_exporter: latest source available at this time
go version: 1.22.0
We get the following error message:
panic: interface conversion: interface {} is int, not int8
goroutine 14 [running]:
github.com/phin1x/cups-exporter/internal.(*Exporter).printerMetrics(0xc00007a120, 0xc00007a540)
.../cups_exporter/internal/printers.go:22 +0x5e5
github.com/phin1x/cups-exporter/internal.(*Exporter).Collect(0xc00007a120, 0xc00007a540)
.../cups_exporter/internal/exporter.go:110 +0xbc
github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func1()
.../go/pkg/mod/github.com/prometheus/[email protected]/prometheus/registry.go:455 +0x105
created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather in goroutine 10
.../go/pkg/mod/github.com/prometheus/[email protected]/prometheus/registry.go:547 +0xbab
I replaced the paths from my local system with ... in the error log.
The text was updated successfully, but these errors were encountered:
Cups Exporter crashes when we try to query the metrics.
Operating system: Arch Linux (Rolling Release)
Cups version: 2.4.7-2
cups_exporter: latest source available at this time
go version: 1.22.0
We get the following error message:
I replaced the paths from my local system with ... in the error log.
The text was updated successfully, but these errors were encountered: