This component is deprecated and will be removed in NiFi 2.x.
Please consider using one the following alternatives: No alternative components suggested.
Specifies a Record Sink Service that exposes data points to a Prometheus scraping service. Numeric fields are exposed as Gauges, String fields are the label values for the gauges, and all other fields are ignored.
record, send, write, prometheus
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
| Display Name | API Name | Default Value | Allowable Values | Description |
|---|---|---|---|---|
| Prometheus Metrics Endpoint Port | prometheus-reporting-task-metrics-endpoint-port | 9092 | The Port where prometheus metrics can be accessed Supports Expression Language: true (will be evaluated using variable registry only) | |
| Instance ID | prometheus-reporting-task-instance-id | ${hostname(true)} | Id of this NiFi instance to be included in the metrics sent to Prometheus Supports Expression Language: true (will be evaluated using variable registry only) | |
| SSL Context Service | prometheus-reporting-task-ssl-context | Controller Service API: RestrictedSSLContextService Implementation: 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 Authentication | prometheus-reporting-task-client-auth | No Authentication |
| 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. |