Prometheus Remote Write destination plugin
The Prometheus Remote Write destination plugin lets you configure Chronosphere Telemetry Pipeline to sending metrics data in a standardized format over HTTP to a configured remote endpoint.
Supported telemetry types
This plugin supports these telemetry types:
Logs | Metrics | Traces |
---|---|---|
Configuration parameters
Use the parameters in this section to configure your plugin. The Telemetry Pipeline web interface uses the values in the Name column to describe the parameters. Items in the Key column are the YAML keys to use in pipeline configuration files.
General
Name | Key | Description | Default |
---|---|---|---|
Host | host | Required. IP address or hostname of the target HTTP Server. | 127.0.0.1 |
Port | port | Required. TCP port of the target HTTP Server. | 80 |
URI | uri | Required. Specify an optional HTTP URI for the target web server. | / |
Advanced
Name | Key | Description | Default |
---|---|---|---|
Headers | header | Add a HTTP header key/value pair. You can set multiple headers. | none |
Additional Prometheus Metric Labels | add_label | Add custom labels to all metrics exposed through the Prometheus exporter. You can set multiple headers. | none |
HTTP Proxy | proxy | Specify an HTTP Proxy. The expected format of this value is http://host:port . | none |
Log Response Payload | log_response_payload | Log the response payload within the Core Pipeline log. | false |
Security and TLS
Name | Key | Description | Default |
---|---|---|---|
TLS | tls | Enable or disable TLS/SSL support. Accepted values: true , false . | false |
TLS Certificate Validation | tls.verify | Enable or disable TLS/SSL certificate validation. TLS must be enabled for certificates to be validated. Accepted values: off , on . | on |
TLS Debug Level | tls.debug | Set TLS debug verbosity level. Accepted values: 0 (No debug), 1 (Error), 2 (State change), 3 (Informational), 4 (Verbose). | 1 |
CA Certificate File Path | tls.ca_file | Absolute path to CA certificate file. | none |
Certificate File Path | tls.crt_file | Absolute path to certificate file. | none |
Private Key File Path | tls.key_file | Absolute path to private key file. | none |
Private Key Path Password | tls.key_passwd | Password for private key file. | none |
TLS SNI Hostname Extension | tls.vhost | Hostname to be used for TLS SNI extension. | none |
Advanced Networking
Name | Key | Description | Default |
---|---|---|---|
DNS Mode | net.dns.mode | Select the primary DNS connection type, which can be TCP or UDP . | none |
DNS Resolver | net.dns.resolver | Select the primary DNS connection type, which can be LEGACY or ASYNC . | none |
Prefer IPv4 | net.dns.prefer_ipv4 | Prioritize IPv4 DNS results when trying to establish a connection. Accepted values: true , false . | false |
Keepalive | net.keepalive | Enable or disable Keepalive support. Accepted values: true , false . | true |
Keepalive Idle Timeout | net.keepalive_idle_timeout | Set maximum time allowed for an idle Keepalive connection. | 30s |
Max Connect Timeout | net.connect_timeout | Set maximum time allowed to establish a connection, which includes the TLS handshake. | 10s |
Max Connect Timeout Log Error | net.connect_timeout_log_error | On connection timeout, specify if it should log an error. When disabled, the timeout is logged as a debug message. Accepted values: true , false . | true |
Max Keepalive Recycle | net.keepalive_max_recycle | Set maximum number of times a keepalive connection can be used before it's retired. | 2000 |
Source Address | net.source_address | Specify network address to bind for data traffic. | none |
Basic Authentication
Name | Key | Description | Default |
---|---|---|---|
HTTP Username | http_user | Basic auth username. | none |
HTTP Password | http_passwd | Basic auth password. Requires http_user to be set. | none |