How to monitor cstor pools?

In the previous blog, we have learned how to monitor openebs volumes, where i had mainly discussed about monitoring volume controller’s of storage engines jiva and cstor. In this blog i will cover how to monitor cstor-pools using Prometheus to pull metrics from maya-exporter sidecar of cstor-pool pods and Grafana to visualize the metrics.

It’s been almost a year since we have released cstor and we felt that there is a need of continuous monitoring tool to monitor cstor-pool container to get the details about various metrics such as health of cstor-pool container, no of reads/writes, no of io’s, rebuilding status, throughput, latency etc. So we introduced maya-exporter in 0.9.0 release as a sidecar of cstor-pool pod as well which collect metrics from cstor-pool container.

Prerequisits:

  • Openebs version > 0.9.0
  • cstor pool must be up and running
  • PVC (*optional)

It’s optional since pool should be available before creating pvc’s

Steps to follow:

  • Run kubectl create -f openebs-monitoring-pg.yaml
  • Run kubectl get pods -o wide to verify and to get where Prometheus and Grafana instances are running.
  • Run kubectl get nodes -o wide to get the…

Read the complete article in Mayadata’s Blog.

~ उत्कर्ष_उवाच

MayaData

MayaData delivers data agility through OpenEBS, Litmus, and…

Utkarsh Mani Tripathi

Written by

Work @MayaData, TechGeek and a part time writer

MayaData

MayaData

MayaData delivers data agility through OpenEBS, Litmus, and MayaOnline.

More From Medium

Also tagged Monitoring

Also tagged Kubernetes

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade