Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1707229

Summary: etcd grafana page is not auto refreshed
Product: OpenShift Container Platform Reporter: Junqi Zhao <juzhao>
Component: MonitoringAssignee: Pawel Krupa <pkrupa>
Status: CLOSED ERRATA QA Contact: Junqi Zhao <juzhao>
Severity: low Docs Contact:
Priority: low    
Version: 4.1.0CC: anpicker, erooth, mloibl, pkrupa, surbania
Target Milestone: ---Keywords: RFE
Target Release: 4.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-10-16 06:28:32 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:
Attachments:
Description Flags
grafana-dashboard-etcd configmap file none

Description Junqi Zhao 2019-05-07 06:09:21 UTC
Created attachment 1564963 [details]
grafana-dashboard-etcd configmap file

Description of problem:
etcd grafana page is not auto refreshed
from grafana-dashboard-etcd configmap, find "refresh": false
for other configmap, eg: grafana-dashboard-k8s-cluster-rsrc-use configmap, it is "refresh": "10s"
***********************************************************************
apiVersion: v1
data:
  etcd.json: |-
    {
        "annotations": {
            "list": [

            ]
        },
        "description": "etcd sample Grafana dashboard with Prometheus",
        "editable": true,
        "gnetId": null,
        "hideControls": false,
        "id": 6,
        "links": [

        ],
        "refresh": false,
***********************************************************************
Version-Release number of selected component (if applicable):
4.1.0-0.nightly-2019-05-06-234425

How reproducible:
Always

Steps to Reproduce:
1. Go to grafana page, and select etcd dashboard.
2.
3.

Actual results:
etcd grafana page is not auto refreshed

Expected results:
etcd grafana page should be auto refreshed

Additional info:

Comment 1 Frederic Branczyk 2019-05-07 12:25:58 UTC
Agreed on low priority, maybe not necessary at all, sometimes refreshing can be distracting as well, but currently we do it for all dashboards so consistency would be good. Moving to etcd team as each team is responsible for their own scraping/alerting/dashboarding.

Comment 2 Matthias Loibl 2019-05-07 12:35:56 UTC
This needs to either be updated in the etcd-mixin (https://github.com/etcd-io/etcd/blob/master/Documentation/etcd-mixin/mixin.libsonnet) or we need to patch it downstream.
I think I'm most happy with doing it upstream.

Comment 3 Pawel Krupa 2019-05-07 12:47:45 UTC
Upstream patch is already sent as a PR here: https://github.com/etcd-io/etcd/pull/10712

Comment 4 Pawel Krupa 2019-05-09 12:13:24 UTC
Should be fixed with https://github.com/openshift/cluster-monitoring-operator/pull/352

Comment 5 Junqi Zhao 2019-05-15 02:07:07 UTC
it is refreshed every 10s now
payload: 4.1.0-0.nightly-2019-05-14-202907

Comment 6 errata-xmlrpc 2019-10-16 06:28:32 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-2019:2922