Bug 1508756

Summary: Some ES prometheus metrics are not found
Product: OpenShift Container Platform Reporter: Junqi Zhao <juzhao>
Component: LoggingAssignee: Lukas Vlcek <lvlcek>
Status: CLOSED ERRATA QA Contact: Junqi Zhao <juzhao>
Severity: low Docs Contact:
Priority: medium    
Version: 3.7.0CC: aos-bugs, jcantril, lvlcek, rmeggins, wsun
Target Milestone: ---   
Target Release: 3.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-06-27 07:59:11 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1510320    
Bug Blocks:    
Attachments:
Description Flags
ES prometheus metrics none

Comment 1 Lukas Vlcek 2017-11-03 14:04:43 UTC
There seem to be issue in naming conventions. We need to review naming conventions used by Prometheus exporter plugin and fix or match it to expected metrics that we want to track. I will look at this.

Comment 3 Jeff Cantrill 2017-11-06 15:14:45 UTC
I renamed the title as its really certain expected metrics are not there but I believe its a misunderstanding of expectations.  Additionally, lowering the priority as we can pull metrics and just need to understand what info is available.

Comment 4 Junqi Zhao 2017-11-08 03:20:06 UTC
blocks by https://bugzilla.redhat.com/show_bug.cgi?id=1510320

Comment 6 Junqi Zhao 2018-04-02 02:22:47 UTC
@Lukas

From "ES-Prometheus naming" sheet of [1], openshift.logging.elasticsearch.disk_used = sum(es_fs_path_total_bytes - es_fs_path_free_bytes)

we have separated es_fs_path_total_bytes and es_fs_path_free_bytes metrics,
do we have one separated metrics for openshift.logging.elasticsearch.disk_used, instead of calculate it by sum(es_fs_path_total_bytes - es_fs_path_free_bytes)?

[1] https://docs.google.com/spreadsheets/d/1BF4WpXRdAdtWH4UIb_-MEpruA-jAczTZ97ia_VLsdcA/edit#gid=89818708

Comment 7 Junqi Zhao 2018-04-02 02:23:40 UTC
Created attachment 1416011 [details]
ES prometheus metrics

Comment 8 Junqi Zhao 2018-04-08 01:16:29 UTC
All ES prometheus metrics can be found by REST API

env:
# openshift version
openshift v3.7.42
kubernetes v1.7.6+a08f5eeb62
etcd 3.2.8


Images
logging-curator/images/v3.7.42-2
logging-elasticsearch/images/v3.7.42-2
logging-kibana/images/v3.7.42-2
logging-fluentd/images/v3.7.42-2
logging-auth-proxy/images/v3.7.42-2

Comment 10 errata-xmlrpc 2018-06-27 07:59:11 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:2009