Bug 1508756 - Some ES prometheus metrics are not found
Summary: Some ES prometheus metrics are not found
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Logging
Version: 3.7.0
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: 3.7.0
Assignee: Lukas Vlcek
QA Contact: Junqi Zhao
URL:
Whiteboard:
Depends On: 1510320
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-11-02 07:31 UTC by Junqi Zhao
Modified: 2018-06-27 07:59 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-06-27 07:59:11 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
ES prometheus metrics (109.93 KB, text/plain)
2018-04-02 02:23 UTC, Junqi Zhao
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:2009 0 None None None 2018-06-27 07:59:38 UTC

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


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