Prometheus Remote Write

Supported Types

Logs
Metrics
Traces

Configuration Table

Parameter
Type
Default
Description

hostname*

string

The hostname or IP address for the remote write backend.

port*

int

9009

The port remote write backend.

path*

string

The API Path of the remote write URL. Ex: api/v1/metrics.

headers

map

Additional headers to attach to each HTTP Request. The following headers cannot be changed: Content-Encoding, Content-Type, X-Prometheus-Remote-Write-Version, and User-Agent.

external_labels

map

Label names and values to be attached as metric attributes.

namespace

string

""

Prefix to attach to each metric name.

enable_resource_to_telemetry_conversion

bool

false

When enabled, it will convert all resource attributes to metric attributes.

enable_write_ahead_log

bool

false

Whether or not to enable a Write Ahead Log for the exporter.

wal_buffer_size

int

300

Number of objects to store in Write Ahead Log before truncating. Applicable if enable_write_ahead_log is true.

wal_truncate_frequency

int

60

Sets how often, in seconds, the Write Ahead Log should be truncated. Applicable if enable_write_ahead_log is true.

enable_tls

bool

false

Whether or not to use TLS.

strict_tls_verify

bool

false

Strict TLS Certificate Verification.

ca_file

string

Certificate authority used to validate TLS certificates. This is not required if the collector's operating system already trusts the certificate authority.

cert_file

string

A TLS certificate used for client authentication if mutual TLS is enabled.

key_file

string

A TLS private key used for client authentication if mutual TLS is enabled.

*required field

Supported Retry and Queuing Settings

This destination supports the retry settings.

Sending Queue
Persistent Queue
Retry on Failure

In order to buffer metrics to disk, the Write Ahead Log (WAL) may be enabled.

Last updated

Was this helpful?