Hi @exekias
I see two start events for the same container, but for different ports:
|2018-09-10T11: 33: 07.664Z|DEBUG|[autodiscover ]|autodiscover/autodiscover.go: 206|Got a stop event: map[config: [ 0xc420966ae0 ] stop: true host: 100.123.3.45 port: 8080 kubernetes: { "annotations": { "cni": { "projectcalico": { "org/podIP": "100.123.3.45/32" } }, "co": { "elastic": { "metrics/hosts": "${data.host}:10254", "metrics/metricsets": "collector", "metrics/module": "prometheus", "metrics/period": "1m" } }, "kubernetes": { "io/psp": "privileged" }, "prometheus": { "io/port": "10254", "io/scrape": "true" } } } ], generated configs: [ 0xc420966ae0 ]|
|---|---|---|---|---|
|2018-09-10T11: 33: 07.664Z|DEBUG|[autodiscover ]|autodiscover/autodiscover.go: 216|Config &{ {<nil> } <nil> 0xc420afb360 } is not running|
|2018-09-10T11: 33: 07.664Z|DEBUG|[autodiscover ]|autodiscover/autodiscover.go: 138|Reloading existing autodiscover configs after error|
|2018-09-10T11: 33: 07.664Z|DEBUG|[autodiscover ]|cfgfile/list.go: 70|Starting reload procedure, current runners: 0|
|2018-09-10T11: 33: 07.664Z|DEBUG|[autodiscover ]|cfgfile/list.go: 88|Start list: 1, Stop list: 0|
|2018-09-10T11: 33: 07.664Z|ERROR|[autodiscover ]|cfgfile/list.go: 104|Error creating runner from config: 1 error: 1 error: host parsing failed for prometheus-collector: error parsing URL: empty host|
|2018-09-10T11: 33: 07.664Z|DEBUG|[autodiscover ]|autodiscover/autodiscover.go: 206|Got a stop event: map[stop: true host: 100.123.3.45 port: 6443 kubernetes: { "annotations": { "cni": { "projectcalico": { "org/podIP": "100.123.3.45/32" } }, "co": { "elastic": { "metrics/hosts": "${data.host}:10254", "metrics/metricsets": "collector", "metrics/module": "prometheus", "metrics/period": "1m" } }, "kubernetes": { "io/psp": "privileged" }, "prometheus": { "io/port": "10254", "io/scrape": "true" } } } 0xc4203852c0 ] ], generated configs: [ 0xc4203852c0 ]|
|2018-09-10T11: 33: 07.664Z|DEBUG|[autodiscover ]|autodiscover/autodiscover.go: 216|Config &{ {<nil> } <nil> 0xc4205b4820 } is not running |
|2018-09-10T11: 33: 07.664Z|DEBUG|[autodiscover ]|autodiscover/autodiscover.go: 138|Reloading existing autodiscover configs after error |
|2018-09-10T11: 33: 07.664Z|DEBUG|[autodiscover ]|cfgfile/list.go: 70|Starting reload procedure, current runners: 0 |
|2018-09-10T11: 33: 07.664Z|DEBUG|[autodiscover ]|cfgfile/list.go: 88|Start list: 1, Stop list: 0 |
|2018-09-10T11: 33: 07.664Z|ERROR|[autodiscover ]|cfgfile/list.go: 104|Error creating runner from config: 1 error: 1 error: host parsing failed for prometheus-collector: error parsing URL: empty host |
|2018-09-10T11: 33: 07.664Z|DEBUG|[autodiscover ]|autodiscover/autodiscover.go: 164|Got a start event: map[host: 100.123.3.45 port: 8080 kubernetes: { "annotations": { "cni": { "projectcalico": { "org/podIP": "100.123.3.45/32" } }, "co": { "elastic": { "metrics/hosts": "${data.host}:10254", "metrics/metricsets": "collector", "metrics/module": "prometheus", "metrics/period": "1m" } }, "kubernetes": { "io/psp": "privileged" }, "prometheus": { "io/port": "10254", "io/scrape": "true" } } } config: [ 0xc4207f0ff0 ] start: true ], generated configs: [ 0xc4207f0ff0 ]|
|2018-09-10T11: 33: 07.664Z|DEBUG|[autodiscover ]|autodiscover/autodiscover.go: 237|Got a meta field in the event|
|2018-09-10T11: 33: 07.664Z|DEBUG|[autodiscover ]|autodiscover/autodiscover.go: 138|Reloading existing autodiscover configs after error|
|2018-09-10T11: 33: 07.664Z|DEBUG|[autodiscover ]|cfgfile/list.go: 70|Starting reload procedure, current runners: 0|
|2018-09-10T11: 33: 07.664Z|DEBUG|[autodiscover ]|cfgfile/list.go: 88|Start list: 1, Stop list: 0|
|2018-09-10T11: 33: 07.664Z|ERROR|[autodiscover ]|cfgfile/list.go: 104|Error creating runner from config: 1 error: 1 error: host parsing failed for prometheus-collector: error parsing URL: empty host|
|2018-09-10T11: 33: 07.665Z|DEBUG|[autodiscover ]|autodiscover/autodiscover.go: 164|Got a start event: map[config: [ 0xc42009edb0 ] start: true host: 100.123.3.45 port: 6443 kubernetes: { "annotations": { "cni": { "projectcalico": { "org/podIP": "100.123.3.45/32" } }, "co": { "elastic": { "metrics/hosts": "${data.host}:10254", "metrics/metricsets": "collector", "metrics/module": "prometheus", "metrics/period": "1m" } }, "kubernetes": { "io/psp": "privileged" }, "prometheus": { "io/port": "10254", "io/scrape": "true" } } } ], generated configs: [ 0xc42009edb0 ]|
|2018-09-10T11: 33: 07.665Z|DEBUG|[autodiscover ]|autodiscover/autodiscover.go: 237|Got a meta field in the event|
|2018-09-10T11: 33: 07.665Z|DEBUG|[autodiscover ]|autodiscover/autodiscover.go: 138|Reloading existing autodiscover configs after error|
|2018-09-10T11: 33: 07.665Z|DEBUG|[autodiscover ]|cfgfile/list.go: 70|Starting reload procedure, current runners: 0|
|2018-09-10T11: 33: 07.665Z|DEBUG|[autodiscover ]|cfgfile/list.go: 88|Start list: 1, Stop list: 0|
|2018-09-10T11: 33: 07.665Z|ERROR|[autodiscover ]|cfgfile/list.go: 104|Error creating runner from config: 1 error: 1 error: host parsing failed for prometheus-collector: error parsing URL: empty host|
|2018-09-10T11: 33: 17.665Z|DEBUG|[autodiscover ]|autodiscover/autodiscover.go: 138|Reloading existing autodiscover configs after error|
|2018-09-10T11: 33: 17.665Z|DEBUG|[autodiscover ]|cfgfile/list.go: 70|Starting reload procedure, current runners: 0|
|2018-09-10T11: 33: 17.665Z|DEBUG|[autodiscover ]|cfgfile/list.go: 88|Start list: 1, Stop list: 0|
|2018-09-10T11: 33: 17.665Z|ERROR|[autodiscover ]|cfgfile/list.go: 104|Error creating runner from config: 1 error: 1 error: host parsing failed for prometheus-collector: error parsing URL: empty host|
Unfortunately I can not see any other Errors in the log
Best regards