Skip to main content
Version: v1.5.x

Monitoring Prometheus Task

Collect metric data of applications that support the Prometheus protocol.

Configuration parameter

Parameter nameParameter help description
Target HostMonitored IPV4, IPV6 or domain name. Note⚠️Without protocol header (eg: https://, http://)
Task NameIdentify the name of this monitoring. The name needs to be unique.
PortMonitor HTTP port.
Endpoint PathMonitor the path of HTTP interfaces, Note ⚠️ It needs to start with /.
Query TimeoutSet the data collection timeout, unit: ms, default: 6000ms.
HTTPSHTTPS enable,optional,default:false.
HeadersHTTP request headers,optional.
ParamsRequest params,optional.
Content-TypeContentType,optional.
BODYRequest body,optional.
Auth TypeAuthentication methods, optional values include: Basic Auth, Digest Auth,optional.
UsernameUsername,optional.
PasswordPassword,optional.
Collection intervalInterval time of monitor periodic data collection, unit: second, and the minimum interval that can be set is 30 seconds.
Bind TagsUsed to classify and manage monitoring resources.
Description remarksFor 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.