Bug 1312827 - [intservice_public_171] Failed to show network metrics in web console
Summary: [intservice_public_171] Failed to show network metrics in web console
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Hawkular
Version: unspecified
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Matt Wringe
QA Contact: chunchen
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-29 10:41 UTC by chunchen
Modified: 2018-07-26 19:09 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-12 17:13:52 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
metrics-screenshot.png (107.53 KB, image/png)
2016-03-01 01:50 UTC, chunchen
no flags Details

Description chunchen 2016-02-29 10:41:38 UTC
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):
devenv_rhel7_3555
latest metrics related images built from git repo( https://github.com/openshift/origin-metrics )

How reproducible:
always

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

Actual results:
3. No errors in all the metrics stack pods
4. No network metrics shown. Please refer to the screenshot in the attachment.

Expected results:
Should show network metrics in web console

Additional info:

Comment 1 Matt Wringe 2016-02-29 14:32:02 UTC
What version of OpenShift exactly?

Comment 2 Matt Wringe 2016-02-29 14:35:22 UTC
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?

Comment 3 chunchen 2016-03-01 01:50:08 UTC
Created attachment 1131786 [details]
metrics-screenshot.png

Comment 4 chunchen 2016-03-01 01:57:41 UTC
(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.

Comment 5 chunchen 2016-03-01 01:58:23 UTC
(In reply to Matt Wringe from comment #1)
> What version of OpenShift exactly?

openshift v1.1.3-319-g160c20f
kubernetes v1.2.0-alpha.7-703-gbc4550d
etcd 2.2.5

Comment 6 chunchen 2016-03-01 03:51:35 UTC
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
[
  "cpu/request",
  "memory/working_set",
  "memory/major_page_faults_rate",
  "network/rx_errors",
  "network/tx_rate",
  "network/tx_errors_rate",
  "network/tx_errors",
  "network/rx_rate",
  "cpu/usage_rate",
  "memory/limit",
  "memory/request",
  "cpu/usage",
  "network/tx",
  "memory/page_faults_rate",
  "memory/major_page_faults",
  "cpu/limit",
  "memory/usage",
  "network/rx_errors_rate",
  "uptime",
  "memory/page_faults",
  "network/rx"

Comment 8 chunchen 2016-03-04 00:26:30 UTC
Mark it as verified according to comment #7.


Note You need to log in before you can comment on or make changes to this bug.