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 NameDescription
momentum-application-instances-(pods).jsonDashboard 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.

momentum-applications-(services).json

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

prometheus

Configuration parameters for Prometheus.

-

 

prometheusSpec.retention

Storage time for log data collected by the Prometheus operator.

10d

grafana

Configuration parameters for Grafana.

-

 


adminPassword

Password for login to Grafana UI.

Note: Has to be replaced by a secure custom password.

changeme

service.enabled

Boolean value specifying whether the Kubernetes NodePort service for the browser access of monitoring is activated (true) or deactivated (false).

If set to false, monitoring is accessible only via port forwarding to port 3000.

true


Read on

COMMANDER Service for System Maintenance

Perform low-level maintenance on your core system, access the database and carry out Elasticsearch queries. Keep reading

yuuvis® Postman Collections

Postman is a free API development tool with a multitude of useful functions for automated testing, documentation, and more. Our yuuvis® Postman Collections kick-start you right into the yuuvis® API world. Keep reading

Installation and Configuration

Guidelines and information for the installation and configuration of the core system. Keep reading