Observability of Rust Microservices: Integrating Prometheus and Grafana

Observability of Rust Microservices: Integrating Prometheus and Grafana

💡 Core Idea: By integrating Rust microservices with Prometheus and Grafana, we achieve efficient application monitoring and performance analysis. Understanding the behavior and performance of a system is crucial when building a reliable and scalable microservices architecture. To achieve this, we need tools to help us collect and display key performance indicators (KPIs). Today, we … Read more

Deploying Grafana on Linux

Deploying Grafana on Linux

Download and Install Package Go to [official website](https://grafana.com/grafana/download) to download the latest version of the installation package. Here we take grafana-enterprise_12.2.1_18655849634_linux_amd64.tar.gz as an example. 1wget https://dl.grafana.com/grafana-enterprise/release/12.2.1/grafana-enterprise_12.2.1_18655849634_linux_amd64.tar.gz 2tar -zxvf grafana-enterprise_12.2.1_18655849634_linux_amd64.tar.gz Extract and Install 1tar -zxvf grafana-enterprise_12.2.1_18655849634_linux_amd64.tar.gz 2mv grafana-enterprise_12.2.1_18655849634_linux_amd64 /opt/grafana Modify Configuration Copy the default configuration file and modify the relevant settings. 1cp /opt/grafana/conf/defaults.ini /opt/grafana/conf/grafana.ini Modify the … Read more

Monitoring HTTP Service Status with Prometheus (Custom Request Body)

Monitoring HTTP Service Status with Prometheus (Custom Request Body)

Introduction In our work, we may encounter scenarios where we need to monitor the availability of APIs. Although the official blackbox-exporter supports HTTP status checks, its flexibility is limited, making it difficult to effectively monitor interfaces that require specific request headers or bodies. A tool similar to Postman is needed to periodically check the status … Read more