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

10 Essential Tools for Linux Operations: A Must-Know for Engineers

10 Essential Tools for Linux Operations: A Must-Know for Engineers

Author: Xiao Ming, Source: toutiao.com/article/7303178950443041295/ This article details 10 tools frequently used by operations engineers in their daily work, explaining the functionality, applicable scenarios, and outstanding features of each tool. 1. Shell Scripts Function: Primarily used for automating tasks and batch processing jobs. Applicable Scenarios: Frequently used for file processing, system management, and simple network … Read more

Using PromQL in Prometheus HTTP API

Using PromQL in Prometheus HTTP API

The current stable HTTP API of Prometheus can be accessed via /api/v1. API Response Format The Prometheus API uses JSON format for response content. When the API call is successful, it will return a 2xx HTTP status code. Conversely, when the API call fails, it may return the following different HTTP status codes: 404 Bad … Read more

7 Rule Engines of Cortex: A Powerful Python Monitoring System

7 Rule Engines of Cortex: A Powerful Python Monitoring System

Hi, I’m Huan Ge! Today, I want to take you on a journey to explore a powerful Python monitoring system—Cortex, especially its cool 7 rule engines. Cortex can help us monitor various metrics in real-time and issue alerts promptly when anomalies occur, just like a diligent sentinel guarding the stability of our system. Are you … Read more