Red Hat Bugzilla – Bug 1312827
[intservice_public_171] Failed to show network metrics in web console
Last modified: 2016-09-29 22:17:15 EDT
Description of problem:
The network metrics are not shown in the web console after deploying the metrics stack.
Version-Release number of selected component (if applicable):
latest metrics related images built from git repo( https://github.com/openshift/origin-metrics )
Steps to Reproduce:
1. Build latest metrics related images from git repo
2. Deploy the metrics stack
3. Check the logs of running pods
4. Check the network metrics in the web console
3. No errors in all the metrics stack pods
4. No network metrics shown. Please refer to the screenshot in the attachment.
Should show network metrics in web console
What version of OpenShift exactly?
I don't believe there is anything in the console yet to display network metrics. They should be gathered by the system now, just not displayed in the console.
Also there was no screenshot attached, but I assume you could still see the cpu and memory metrics?
Created attachment 1131786 [details]
(In reply to Matt Wringe from comment #2)
> I don't believe there is anything in the console yet to display network
> metrics. They should be gathered by the system now, just not displayed in
> the console.
Ah,sorry, I forgot to add the screenshot attachment yesterday, the screenshot is attached now.
You mean we can check the network metrics from system log, like /var/log/messages* ?
> Also there was no screenshot attached, but I assume you could still see the
> cpu and memory metrics?
Yes, the cpu and memory metrics are still shown well.
(In reply to Matt Wringe from comment #1)
> What version of OpenShift exactly?
FYI, I can get network metrics for pods via heapster REST API, like below:
[chunchen@F17-CCY daily]$ curl -k -H "Authorization: Bearer `oc whoami -t`" -X GET https://ec2-54-164-177-124.compute-1.amazonaws.com:8443/api/v1/proxy/namespaces/chunchen/services/https:heapster:/api/v1/model/namespaces/chunchen/pods/hawkular-metrics-ss2fx/metrics
Mark it as verified according to comment #7.