Monitoring via Prometheus and Graphana
Display the current status and capacity of the services within your yuuvis Momentum cluster via Grafana Web UI.
Introduction
As of version 2021 Autumn, this monitoring solution allows the observation of your yuuvis® Momentum Kubernetes Cluster. The integrated Grafana Web UI serves for visualization of resource consumption and network traffic for yuuvis® services or their individual pods.
Monitoring via Prometheus and Grafana
The monitoring Helm Chart includes Prometheus for the collection and processing of the service-specific status information, and Grafana providing a graphical user interface which displays the results provided by Prometheus. Furthermore, a Kubernetes NodePort
service is installed that manages the port for the monitoring and thus allows for the access to the monitoring displayed in Grafana via web browser.
Each service within the yuuvis
namespace can be monitored.
The Grafana UI can be accessed in the web browser via the port of the NodePort
service:
http://<host>:3000
There are two dashboards for the Grafana UI installed via the monitoring Helm Chart:
Dashboard File Name | Description |
---|---|
momentum-application-instances-(pods).json | Dashboard for inspection of single pods in a yuuvis® Momentum cluster. Displays the status information of the individual pods, e.g., their memory or CPU consumption. |
| Dashboard for inspection of services in a yuuvis® Momentum cluster. For services using multiple pods, the results of all pods of that service are summarized. Network traffic like error messages, response times, logs etc. can thus be displayed. |
To import one of them into Grafana UI, click the Dashboards icon in the left corner and select Manage. Then, click the Import button and select a dashboard.
Note: If you want to save a custom dashboard, click the Share icon in the top bar, switch to the Export tab and activate Export for sharing externally in order to store your dashboard in an importable format. If you now click Save to file, the exported file can be stored in the correct format.
Installation and Configuration
Before deploying the monitoring Helm Chart during an installation or upgrade, adjust the following parameters in the values.yaml
configuration file.
Parameter
| Description | Default Value | |
---|---|---|---|
| Configuration parameters for Prometheus. |
| |
|
| Storage time for log data collected by the Prometheus operator. |
|
| Configuration parameters for Grafana. |
| |
|
| Password for login to Grafana UI. Note: Has to be replaced by a secure custom password. |
|
| Boolean value specifying whether the Kubernetes If set to |
|