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
Following the guide with OpenShift Origin v3.6.0-rc.0 (with #167 fix applied) and executing Wildfly demo with Jolokia results in the following error:
oc logs -f hawkular-openshift-agent-b48r3
I0719 12:57:13.550756 1 hawkular-openshift-agent.go:69] Hawkular OpenShift Agent: Version: 1.2.2.Final, Commit: de35fdddc8a9f90b8094f372c6cf9576908dd780
W0719 12:57:13.551262 1 hawkular-openshift-agent.go:193] The status emitter is not secure. It is recommended you secure the status emitter with credentials.
I0719 12:57:13.551318 1 emitter_server.go:48] Agent emitter will emit metrics
I0719 12:57:13.551323 1 emitter_server.go:62] Agent emitter will emit status
I0719 12:57:13.551326 1 emitter_server.go:70] Agent emitter will provide a health probe
I0719 12:57:13.551330 1 emitter_server.go:95] Agent will start the emitter endpoint at [:8080]
I0719 12:57:13.591197 1 metrics_storage.go:74] START storing metrics definitions and data
I0719 12:57:13.591216 1 metrics_collector_manager.go:66] Pods will be limited to a maximum of [50] metrics
I0719 12:57:13.591223 1 metrics_collector_manager.go:67] Endpoints will be limited to a minimum collection interval of [10s]
W0719 12:57:13.643841 1 node_event_consumer.go:168] Will not start collecting for endpoint in pod [localhost/default/hawkular-openshift-agent-b48r3/c50aac53-6c81-11e7-aa50-54ee751d46e3] - cannot build URL. err=Endpoint not assigned an IP address yet
I0719 12:57:14.194854 1 metrics_collector_manager.go:140] START collecting metrics from [default|hawkular-openshift-agent-b48r3|prometheus|http://172.17.0.8:8080/metrics] every [30s]
I0719 12:57:15.186273 1 metrics_collector_manager.go:368] STOP collecting metrics from [default|hawkular-openshift-agent-b48r3|prometheus|http://172.17.0.8:8080/metrics]
I0719 12:57:15.187363 1 metrics_collector_manager.go:140] START collecting metrics from [default|hawkular-openshift-agent-b48r3|prometheus|http://172.17.0.8:8080/metrics] every [30s]
W0719 12:58:38.792746 1 node_event_consumer.go:168] Will not start collecting for endpoint in pod [localhost/default/hawkular-openshift-agent-example-jolokia-wildfly-566f5/fbb0af22-6c81-11e7-aa50-54ee751d46e3] - cannot build URL. err=Endpoint not assigned an IP address yet
W0719 12:58:38.799367 1 node_event_consumer.go:168] Will not start collecting for endpoint in pod [localhost/default/hawkular-openshift-agent-example-jolokia-wildfly-566f5/fbb0af22-6c81-11e7-aa50-54ee751d46e3] - cannot build URL. err=Endpoint not assigned an IP address yet
I0719 12:58:58.050830 1 metrics_collector_manager.go:140] START collecting metrics from [default|hawkular-openshift-agent-example-jolokia-wildfly-566f5|jolokia|https://172.17.0.9:8778/jolokia/] every [15s]
panic: interface conversion: interface is bool, not float64
goroutine 227 [running]:
panic(0x12310e0, 0xc4202afe40)
/usr/lib/golang/src/runtime/panic.go:500 +0x1a1
github.com/hawkular/hawkular-openshift-agent/collector/impl.(*JolokiaMetricsCollector).CollectMetrics(0xc4202afbc0, 0xc403090903, 0x1b65700, 0x0, 0xc420288c48, 0x0)
/builddir/build/BUILD/hawkular-openshift-agent-bf21b27fc1822b0922e22c7a9d5568a9d9466bc5/GOPATH/src/github.com/hawkular/hawkular-openshift-agent/GOPATH/src/github.com/hawkular/hawkular-openshift-agent/collector/impl/jolokia_metrics_collector.go:122 +0x99d
github.com/hawkular/hawkular-openshift-agent/collector/manager.(*MetricsCollectorManager).StartCollecting.func1(0x1b39300, 0xc4202afbc0, 0xc4202afc00, 0xc420377180, 0x6d, 0xc420377110, 0x67, 0xc42000bc20)
/builddir/build/BUILD/hawkular-openshift-agent-bf21b27fc1822b0922e22c7a9d5568a9d9466bc5/GOPATH/src/github.com/hawkular/hawkular-openshift-agent/GOPATH/src/github.com/hawkular/hawkular-openshift-agent/collector/manager/metrics_collector_manager.go:176 +0x51b
created by github.com/hawkular/hawkular-openshift-agent/collector/manager.(*MetricsCollectorManager).StartCollecting
/builddir/build/BUILD/hawkular-openshift-agent-bf21b27fc1822b0922e22c7a9d5568a9d9466bc5/GOPATH/src/github.com/hawkular/hawkular-openshift-agent/GOPATH/src/github.com/hawkular/hawkular-openshift-agent/collector/manager/metrics_collector_manager.go:357 +0x83a
The text was updated successfully, but these errors were encountered:
The Origin documentation points to enterprise agent. Here's a snippet:
Following the guide with OpenShift Origin v3.6.0-rc.0 (with #167 fix applied) and executing Wildfly demo with Jolokia results in the following error:
The text was updated successfully, but these errors were encountered: