grafana / carbon-relay-ng

Fast carbon relay+aggregator with admin interfaces for making changes online - production ready
Other
467 stars 151 forks source link

Panic when adding route via web interface #420

Open replay opened 4 years ago

replay commented 4 years ago

Version: master

How to reproduce:

1) Start carbon-relay-ng with config examples/carbon-relay-ng.ini 2) Go to web interface 3) Fill all form fields with following values: Route Key: test Route Type: sendAllMatch Match prefix: a Match substring: b Match regex: c Address: 127.0.0.1:1234 4) Click the Add button 5) Panic:

goroutine 1201 [running]:
time.NewTicker(0x0, 0x40c396)
        /usr/local/go/src/time/tick.go:23 +0x147
github.com/grafana/carbon-relay-ng/nsqd.(*DiskQueue).ioLoop(0xc000b4e900)
        /home/replay/go/src/github.com/grafana/carbon-relay-ng/nsqd/diskqueue.go:540 +0x47
created by github.com/grafana/carbon-relay-ng/nsqd.NewDiskQueue
        /home/replay/go/src/github.com/grafana/carbon-relay-ng/nsqd/diskqueue.go:93 +0x2fb
je1lylee commented 1 year ago

+1

replay commented 1 year ago

@je1lylee The web interface is beta, if you would like to use carbon-relay-ng in a production environment it is recommended to use config files.

je1lylee commented 1 year ago

Thank you! I edited config files manually, everything looks good now.