Bug 1447435 - Provide information about why metrics could not be collected.
Summary: Provide information about why metrics could not be collected.
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 3.5.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Samuel Padgett
QA Contact: XiaochuanWang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-05-02 19:00 UTC by Matt Wringe
Modified: 2017-05-10 12:05 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-05-10 12:05:15 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Matt Wringe 2017-05-02 19:00:47 UTC
Description of problem:
Currently if there is a problem gathering metrics, such as the issue with the ad blockers, we don't get a very useful error message.

Its just something like:

"Metrics are not available.

An error occurred getting metrics for container hawkular-metrics from https://hawkular-metrics.example.com/hawkular/metrics."

When users open bugs about this problem with metrics, we then need to explain to them how to get to their browser's console and to check what the real issue is.

If we could get a more detailed error message when metrics cannot be gathered, it would help to more quickly determine what the problem is.

Comment 1 Jessica Forrester 2017-05-02 19:43:34 UTC
Not sure what you are suggesting, if knew more information about why it was failing then we could show a better error message.  I believe in a lot of these cases we just get a status code 0 which is the terrible catch all.

Comment 2 Samuel Padgett 2017-05-02 19:45:56 UTC
We get HTTP status code 0, which can mean a lot of things. It might mean you have no internet connectivity, or it might mean the certificate is not valid. I don't think there's a way for us to know.

Comment 3 Samuel Padgett 2017-05-10 12:05:15 UTC
Here is the problem we're facing:

http://stackoverflow.com/questions/872206/http-status-code-0-what-does-this-mean-for-fetch-or-xmlhttprequest#answer-14507670

http://stackoverflow.com/questions/3825581/does-an-http-status-code-of-0-have-any-meaning/26451773#26451773

Unfortunately, there's no additional information we can give when we see status code 0.


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