System for monitoring custom metrics for a bridge node using Prometheus and Node Exporter. Node Exporter is a powerful tool that collects operating system and hardware metrics from servers and can also be extended to expose custom metrics. Through this project, you will learn how to configure Node Exporter to collect and expose specific metrics from the bridge node, and how to automate this process using scripts and systemd services. This approach will provide you with detailed insights into the performance and status of the bridge node, facilitating efficient monitoring and maintenance of the system.
-
Implementation and Configuration of Custom Metrics Monitoring
-
This document details the specific metrics available in Grafana for Celestia's Bridge nodes. It includes descriptions and explanations of various key metrics, such as sync status, validator voting power, mempool size, and more.
-
Grafana Dashboard JSON Configuration File
This resource provides a JSON configuration file for a Grafana dashboard. The file includes all the necessary definitions and settings to visualize bridge node metrics in Grafana, making it easy to create informative panels and interactive graphs for real-time monitoring.
-
Grafana Dashboard: Celestia Bridge Node
System for monitoring custom metrics for a bridge node using Prometheus and Node Exporter. Node Exporter is a powerful tool that collects operating system and hardware metrics from servers and can also be extended to expose custom metrics.
-
Bash script designed to collect various metrics related to the celestia-bridge service and save this data in a metrics file in Prometheus format.
-
Celestia Bridge Node Alert Configuration Guide
This guide explains how to set up alert rules for a Celestia Bridge node using Prometheus.
-
Alert configuration file
-
CLI queries to a Celestia bridge node
Set of commands to perform different queries to a Celestia bridge node.
The implementation of these metrics does not require any modifications to the bridge node configuration. This ensures that the bridge node continues to operate optimally without interruptions or changes to its original setup.
No additional applications or services are needed apart from Node Exporter, which should already be implemented to monitor server resources. This simplifies the setup and reduces administrative overhead.
The monitoring process does not alter the server resources dedicated to the bridge node. A simple script is used, which runs periodically via systemd and timers, ensuring that the server's performance is not affected.
- Memory: 4.8 MB is low and typical for scripts of this type.
- CPU: 1.202 seconds is an acceptable CPU usage for a periodic execution every 6 seconds.
The implementation is extremely simple and quick. It only requires downloading a script and configuring systemd, which can be completed in a few minutes. This allows system administrators to set up metric monitoring without complications and with minimal time investment.
The system is designed to update the metrics periodically and automatically using systemd services and timers. This ensures that up-to-date data is always available without continuous manual intervention.
With these features, this project provides an efficient and effective solution for monitoring custom metrics of the bridge node, leveraging the capabilities of Prometheus and Node Exporter to enhance the monitoring and maintenance of your infrastructure.