Add grafana dashboard

Bug #1913327 reported by Chris Johnston
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Etcd Charm
Fix Released
Wishlist
Martin Kalcok

Bug Description

Currently we don't have the ability to collect and display metrics for etcd in grafana. It would be nice if a dashboard existed that would allow for displaying etcd metrics. This would greatly help with troubleshooting performance issues in etcd.

description: updated
tags: added: sts
Revision history for this message
Chris Johnston (cjohnston) wrote :

From https://etcd.io/docs/v3.4.0/op-guide/monitoring/:

cat > /tmp/test-etcd.yaml <<EOF
global:
  scrape_interval: 10s
scrape_configs:
  - job_name: test-etcd
    static_configs:
    - targets: ['10.240.0.32:2379','10.240.0.33:2379','10.240.0.34:2379']
EOF
cat /tmp/test-etcd.yaml

https://github.com/etcd-io/etcd/blob/master/Documentation/op-guide/grafana.json

George Kraft (cynerva)
Changed in charm-etcd:
importance: Undecided → Wishlist
status: New → Triaged
Changed in charm-etcd:
assignee: nobody → Martin Kalcok (martin-kalcok)
Changed in charm-etcd:
status: Triaged → In Progress
Revision history for this message
Martin Kalcok (martin-kalcok) wrote :

By default, etcd requires clients to authenticate with tls certificate signed by trusted CA when accessing the `/metrics` endpoint. I opened this bug https://bugs.launchpad.net/charm-prometheus2/+bug/1918277 in prometheus charm project which must be solved before this bug can proceed.

tags: added: review-needed
Revision history for this message
Martin Kalcok (martin-kalcok) wrote :

The situation with the prometheus charm dependency is actually the other way around. The prometheus functional tests need this change to be merged first. So after update of the PR with charmhelpers usage I marked it as ready for review.

PR: https://github.com/charmed-kubernetes/layer-etcd/pull/187

George Kraft (cynerva)
Changed in charm-etcd:
status: In Progress → Fix Committed
milestone: none → 1.23
tags: removed: review-needed
Revision history for this message
Chris Johnston (cjohnston) wrote :

Adding backport-needed as this is currently blocking other changes required.

tags: added: backport-needed
George Kraft (cynerva)
Changed in charm-etcd:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.