nathanielc / morgoth

Metric anomaly detection
http://docs.morgoth.io
Apache License 2.0
280 stars 31 forks source link

duplicate metrics collector registration attempted #64

Open greenscar opened 6 years ago

greenscar commented 6 years ago

I'm using 0.3.1 WOuld be nice to be able to run /opt/morgoth/morgoth --version to show in output.

However:

ts=2018-06-07T23:40:00.323Z lvl=error msg="failed to stop task with out error" service=kapacitor task_master=main task=jsandlin_dns err="morgoth3: failed to register metrics for group: \"domain=qa.ebay.com,host=tm2li92-01,record_type=NS,server=10.254.244.249\": window count metric: duplicate metrics collector registration attempted"
ts=2018-06-07T23:40:00.323Z lvl=error msg="task finished with error" service=task_store err="morgoth3: failed to register metrics for group: \"domain=qa.ebay.com,host=tm2li92-01,record_type=NS,server=10.254.244.249\": window count metric: duplicate metrics collector registration attempted" task=jsandlin_dns
ts=2018-06-07T23:40:00.323Z lvl=debug msg="closing edge" service=kapacitor task_master=main task=9aec6456-1f76-4d33-8c81-a45344a8e937 parent=stream child=stream0 collected=72 emitted=72
ts=2018-06-07T23:40:00.323Z lvl=debug msg="closing edge" service=kapacitor task_master=main task=9aec6456-1f76-4d33-8c81-a45344a8e937 parent=stream0 child=from1 collected=72 emitted=72
ts=2018-06-07T23:40:00.323Z lvl=debug msg="closing edge" service=kapacitor task_master=main task=9aec6456-1f76-4d33-8c81-a45344a8e937 parent=from1 child=window2 collected=24 emitted=24
ts=2018-06-07T23:40:00.323Z lvl=debug msg="closing edge" service=kapacitor task_master=main task=9aec6456-1f76-4d33-8c81-a45344a8e937 parent=window2 child=morgoth3 collected=2 emitted=2
ts=2018-06-07T23:40:00.323Z lvl=error msg="failed to stop task with out error" service=kapacitor task_master=main task=9aec6456-1f76-4d33-8c81-a45344a8e937 err="morgoth3: failed to register metrics for group: \"host=tm2li92-01,url=ecgs.qa.ebay.com\": fingerprinter 1: unique fingerprints metric: duplicate metrics collector registration attempted"
ts=2018-06-07T23:40:00.323Z lvl=error msg="task finished with error" service=task_store err="morgoth3: failed to register metrics for group: \"host=tm2li92-01,url=ecgs.qa.ebay.com\": fingerprinter 1: unique fingerprints metric: duplicate metrics collector registration attempted" task=9aec6456-1f76-4d33-8c81-a45344a8e937
ts=2018-06-07T23:40:03.326Z lvl=debug msg="linking subscription for cluster" service=influxdb cluster=default cluster=default
ts=2018-06-07T23:40:04.627Z lvl=error msg="received error message" service=kapacitor task_master=main task=cpu_morgoth node=morgoth3 err="field \"usage_idle\" is not a float or int"
ts=2018-06-07T23:40:04.627Z lvl=info msg="UDF log" service=kapacitor task_master=main task=cpu_morgoth node=morgoth3 text="2018/06/07 23:40:04 E! read error: field \"usage_idle\" is not a float or int"
ts=2018-06-07T23:40:04.627Z lvl=info msg="UDF log" service=kapacitor task_master=main task=cpu_morgoth node=morgoth3 text="2018/06/07 23:40:04 I! Stopping"
ts=2018-06-07T23:40:04.629Z lvl=info msg="UDF log" service=kapacitor task_master=main task=cpu_morgoth node=morgoth3 text="panic: close of closed channel"
ts=2018-06-07T23:40:04.629Z lvl=info msg="UDF log" service=kapacitor task_master=main task=cpu_morgoth node=morgoth3 text=
ts=2018-06-07T23:40:04.629Z lvl=info msg="UDF log" service=kapacitor task_master=main task=cpu_morgoth node=morgoth3 text="goroutine 1 [running]:"
ts=2018-06-07T23:40:04.629Z lvl=info msg="UDF log" service=kapacitor task_master=main task=cpu_morgoth node=morgoth3 text="panic(0x6cdbc0, 0xc420144130)"
ts=2018-06-07T23:40:04.629Z lvl=info msg="UDF log" service=kapacitor task_master=main task=cpu_morgoth node=morgoth3 text="\t/home/travis/.gimme/versions/go1.7.linux.amd64/src/runtime/panic.go:500 +0x1a1"
ts=2018-06-07T23:40:04.629Z lvl=info msg="UDF log" service=kapacitor task_master=main task=cpu_morgoth node=morgoth3 text=main.(*Handler).Stop(0xc4200a2f20)
ts=2018-06-07T23:40:04.629Z lvl=info msg="UDF log" service=kapacitor task_master=main task=cpu_morgoth node=morgoth3 text="\t/home/travis/gopath/src/github.com/nathanielc/morgoth/cmd/morgoth/main.go:498 +0x33"
ts=2018-06-07T23:40:04.629Z lvl=info msg="UDF log" service=kapacitor task_master=main task=cpu_morgoth node=morgoth3 text=main.main()
ts=2018-06-07T23:40:04.629Z lvl=info msg="UDF log" service=kapacitor task_master=main task=cpu_morgoth node=morgoth3 text="\t/home/travis/gopath/src/github.com/nathanielc/morgoth/cmd/morgoth/main.go:149 +0x605"
ts=2018-06-07T23:40:07.419Z lvl=debug msg="closing edge" service=kapacitor task_master=main task=cpu_morgoth parent=morgoth3 child=alert4 collected=0 emitted=0
ts=2018-06-07T23:40:07.419Z lvl=error msg="node failed" service=kapacitor task_master=main task=cpu_morgoth node=morgoth3 err="write error: write |1: broken pipe"
ts=2018-06-07T23:40:07.419Z lvl=debug msg="task finished" service=task_store task=cpu_morgoth
ts=2018-06-07T23:40:07.419Z lvl=debug msg="closing edge" service=kapacitor task_master=main task=cpu_morgoth parent=stream child=stream0 collected=1757 emitted=1755
ts=2018-06-07T23:40:07.419Z lvl=debug msg="closing edge" service=kapacitor task_master=main task=cpu_morgoth parent=stream0 child=from1 collected=1757 emitted=1757
ts=2018-06-07T23:40:07.419Z lvl=debug msg="closing edge" service=kapacitor task_master=main task=cpu_morgoth parent=from1 child=window2 collected=270 emitted=270
ts=2018-06-07T23:40:07.419Z lvl=debug msg="closing edge" service=kapacitor task_master=main task=cpu_morgoth parent=window2 child=morgoth3 collected=2 emitted=2
ts=2018-06-07T23:40:07.419Z lvl=error msg="failed to stop task with out error" service=kapacitor task_master=main task=cpu_morgoth err="morgoth3: write error: write |1: broken pipe"
ts=2018-06-07T23:40:07.420Z lvl=error msg="task finished with error" service=task_store err="morgoth3: write error: write |1: broken pipe" task=cpu_morgoth