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
The text was updated successfully, but these errors were encountered:
yashpanchalecosmob
changed the title
panic: inconsistent label cardinality
opensips_exporter crashes with panic: inconsistent label cardinality error
Aug 17, 2021
Version
2.0.4_amd64.deb
File / Feature
opensips_exporter
Expected behaviour
opensips_exporter should connect to 43000 port where management interface is being served and should start exporting the metrics.
Actual behaviour
opensips_exporter crashes
Stacktrace / Error message
Executed the following command
opensips_exporter -protocol mi_http -http_address http://127.0.0.1:43000/opensips_mi/
2021/08/17 13:59:14 Started OpenSIPS exporter, listening on :9434
panic: inconsistent label cardinality
goroutine 71 [running]:
github.com/prometheus/client_golang/prometheus.MustNewConstMetric(...)
/home/runner/go/pkg/mod/github.com/prometheus/[email protected]/prometheus/value.go:172
github.com/VoIPGRID/opensips_exporter/processors.usrlocProcessor.Collect(0xc000196330, 0xc0000b0ba0)
/home/runner/work/opensips_exporter/opensips_exporter/processors/usrloc_processor.go:47 +0x2e5
github.com/prometheus/client_golang/prometheus.(*Registry).Gather.func2(0xc0000ab0b4, 0xc0000b0ba0, 0x9b7680, 0xc0001aa080)
/home/runner/go/pkg/mod/github.com/prometheus/[email protected]/prometheus/registry.go:433 +0x67
created by github.com/prometheus/client_golang/prometheus.(*Registry).Gather
/home/runner/go/pkg/mod/github.com/prometheus/[email protected]/prometheus/registry.go:431 +0x325
Other info
The text was updated successfully, but these errors were encountered: