Files
apache--hertzbeat/home/docs/help/prometheus.md
T
wehub-resource-sync c8cebdfeee
MCP Bash Server CI / Test MCP Bash Server (dev) (push) Has been cancelled
MCP Bash Server CI / Test MCP Bash Server (release) (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 13:11:39 +08:00

3.1 KiB
Executable File

id, title, sidebar_label, keywords
id title sidebar_label keywords
prometheus Monitoring Prometheus Task Prometheus Task Monitor
open source monitoring tool
Prometheus protocol monitoring

Collect metric data of applications that support the Prometheus protocol.

Configuration parameter

Parameter name Parameter help description
Target Host Monitored IPV4, IPV6 or domain name. Note⚠️Without protocol header (eg: https://, http://)
Task Name Identify the name of this monitoring. The name needs to be unique.
Port Monitor HTTP port.
Endpoint Path Monitor the path of HTTP interfaces, Note ⚠️ It needs to start with /.
Query Timeout Set the data collection timeout, unit: ms, default: 6000ms.
HTTPS HTTPS enable,optional,default:false.
Headers HTTP request headers,optional.
Params Request params,optional.
Content-Type ContentType,optional.
BODY Request body,optional.
Auth Type Authentication methods, optional values include: Basic Auth, Digest Auth,optional.
Username Username,optional.
Password Password,optional.
Collection interval Interval time of monitor periodic data collection, unit: second, and the minimum interval that can be set is 30 seconds.
Bind Tags Used to classify and manage monitoring resources.
Description remarks For more information about identifying and describing this monitoring, users can note information here.

Example of usage

The exposed monitoring address of the application is: http://127.0.0.1:8080/actuator/prometheus

You can use the following configuration:

  • Target Host: 127.0.0.1
  • Port: 8080
  • Endpoint Path: /actuator/prometheus

Keep the rest of the settings default.