Skip to main content

PrometheusReportingTask

描述:

Reports metrics in Prometheus format by creating /metrics http endpoint which can be used for external monitoring of the application. The reporting task reports a set of metrics regarding the JVM (optional) and the NiFi instance

标签:

reporting, prometheus, metrics, time series data

参数:

如下列表中,必填参数则标识为加粗. 其他未加粗参数,则表示为可选参数。表中同时提到参数默认值设置, 并且 参数还支持 表达式语言.

名字默认值允许值列表描述
Prometheus Metrics Endpoint Port9092The Port where prometheus metrics can be accessed

支持表达式语言 (仅支持变量)
Instance ID${hostname(true)}Id of this NiFi instance to be included in the metrics sent to Prometheus

支持表达式语言 (仅支持变量)
Metrics Reporting StrategyAll Components
- Root Process GroupSend rollup metrics for the entire root process group
- All Process GroupsSend metrics for each process group
- All ComponentsSend metrics for each component in the system, to include processors, connections, controller services, etc.
The granularity on which to report metrics. Options include only the root process group, all process groups, or all components
Send JVM metricsfalse
- true
- false
Send JVM metrics in addition to the NiFi metrics
SSL Context Service控制器服务API:
RestrictedSSLContextService
实现:
StandardRestrictedSSLContextService
The SSL Context Service to use in order to secure the server. If specified, the server willaccept only HTTPS requests; otherwise, the server will accept only HTTP requests
Client AuthenticationNo Authentication
- No AuthenticationReportingTask will not authenticate clients. Anyone can communicate with this ReportingTask anonymously
- Want AuthenticationReportingTask will try to verify the client but if unable to verify will allow the client to communicate anonymously
- Need AuthenticationReportingTask will reject communications from any client unless the client provides a certificate that is trusted by the TrustStorespecified in the SSL Context Service
Specifies whether or not the Reporting Task should authenticate clients. This value is ignored if the <SSL Context Service> Property is not specified or the SSL Context provided uses only a KeyStore and not a TrustStore.

状态管理:

该组件不保存状态。

限制:

该组件没有限制

系统资源考量:

未提供。