Monitoring your applications using OpenEBS Director Online

OpenEBS Director Online is a SaaS platform that helps DevOps in handling their Kubernetes clusters using features such as centralized monitoring, logging, ChatOps, and MayaData support. Users can sign up to Director Online using their GitHub or Google credentials or directly with an email address. It is free for basic usage.


Monitoring different metrics of your application helps you understand overall performance, behaviors during high usage, CPU usage, latency, and storage availability and usage. You can keep these records with you to determine the difference in the performance of your application, either within the same environment or a different one. For monitoring, Director Online uses Grafana for time-series analytics.

In this blog, I want to show you how to obtain metrics for your applications in OpenEBS Director Online so that you can monitor performance using Grafana Dashboards.

Currently, 6 applications can be monitored easily using Director Online. They are CockroachDB, Elasticsearch, Minio, MySQL, PostgreSQL, and Redis. Let's look at how to monitor these applications:

For applications like Minio and CockroachDB:

Some applications expose metrics by default and do not require an external exporter. These two are of the same kind. So, let's look at the steps for monitoring for these applications:

(Note: Make sure the pod has all the labels that are present in the application (deployment/Statefulset))

First, connect your cluster to DirectorOnline. You can do this by following the steps described here.

After connecting your cluster to DO, you should find yourself at the "Overview" page.


Here, all your applications will be listed.

1. Click on your desired application.

In this example, we will enable monitoring for CockroachDB.


2. Now go to Analytics and select "Enable Analytics."


3. Wait for a while (it may take up to 5 minutes), and you will see a small dashboard in front of you.

To view additional graphs, click on "View More" in the bottom right corner of the panel.


If you don't want to see the metrics anymore, you can delete the analytics as well. The steps are shown at the end of this post.

Similarly, you can enable metrics for the Minio application. This can be done as shown:


. . . 

For applications like Elasticsearch, MySQL, PostgreSQL, and Redis:

Some applications require an external exporter to expose metrics. Director Online currently supports 4 such applications. They are - Elasticsearch, MySQL, PostgreSQL, and Redis. Let's now show how to enable metrics for these applications. We will use MySQL for this example.

1. Click on MySQL from the application list.


2. Go to Analytics and select "Enable Analytics," then enter the required details like username, password, etc., in the form, and click on "Submit".


3. Wait for a period of time (it may take up to 5 minutes) and you will see a small dashboard in front of you. Again, you can view additional graphs by clicking on the "View More" button located in the bottom right corner of the panel.


4. If you entered the wrong details of the application in the form, you could edit your entries back from the Analytics tab on the top right corner of the panel. It may also take up to 5 minutes for the changes to be reflected.


If you don't want the metrics anymore, you can delete the analytics as well.


. . . 

Likewise, you can enable monitoring for other applications:



Note: For Elasticsearch applications, you need to input data in the username and password field if the application does not have any authentication.

. . . 



Note: For Redis applications, you can leave the password field empty if the application does not require any password.

. . . 



. . . 

One more fantastic feature that Director Online provides is the ability to generate and download a Report of your dashboards. Click on the Report button located in the top right panel of the dashboard, and you should get your graphs in PDF format.


. . . 

Well, that's all for now, folks. Feel free to ask anything or submit your thoughts in the comments section.

Director Online also has the on-premise setup, called Director OnPrem. To learn more about Director Online and Director OnPrem, refer to the official documentation here.

Happy hacking!

Don Williams
Don is the CEO of MayaData and leading the company for last one year. He has an exceptional record of accomplishments leading technology teams for organizations ranging from private equity-backed start-ups to large, global corporations. He has deep experience in engineering, operations, and product development in highly technical and competitive marketplaces. His extensive professional network in several industries, large corporations and government agencies is a significant asset to early stage businesses, often essential to achieve product placement, growth and position for potential exit strategies.
Kiran Mova
Kiran evangelizes open culture and open-source execution models and is a lead maintainer and contributor to the OpenEBS project. Passionate about Kubernetes and Storage Orchestration. Contributor and Maintainer OpenEBS projects. Co-founder and Chief Architect at MayaData Inc.
Murat Karslioglu
VP @OpenEBS & @MayaData_Inc. Murat Karslioglu is a serial entrepreneur, technologist, and startup advisor with over 15 years of experience in storage, distributed systems, and enterprise hardware development. Prior to joining MayaData, Murat worked at Hewlett Packard Enterprise / 3PAR Storage in various advanced development projects including storage file stack performance optimization and the storage management stack for HPE’s Hyper-converged solution. Before joining HPE, Murat led virtualization and OpenStack integration projects within the Nexenta CTO Office. Murat holds a Bachelor’s Degree in Industrial Engineering from the Sakarya University, Turkey, as well as a number of IT certifications. When he is not in his lab, he loves to travel, advise startups, and spend time with his family. Lives to innovate! Opinions my own!