Prometheus Remote Write
How It Works
The Prometheus Remote Write source creates a server that listens on http(s)://
listen_address:listen_port/api/v1/write.This source only accepts messages compatible with v2 of the Prometheus Remote Write protocol.
Supported Platforms
Linux
✓
Windows
✓
macOS
✓
Configuration Table
listen_address
string
0.0.0.0
The IP address to listen on.
listen_port
int
9090
TCP port to receive Prometheus Remote Write requests.
enable_tls
bool
false
Whether or not to use TLS.
cert_file
string
Path to the TLS certificate file for the server.
key_file
string
Path to the TLS private key file for the server.
mutual_tls
bool
false
Whether or not to require client TLS authentication (mTLS).
ca_file
string
Path to the certificate authority file for authenticating client certificates.
include_metadata
bool
false
Propagates the incoming connection's metadata to downstream consumers.
enable_cors
bool
false
Enable Cross-Origin Resource Sharing support for HTTP requests.
cors_allowed_origins
strings
[]
A list of origins a cross-domain request can be executed from.
cors_allowed_headers
strings
[]
The allowed headers sets what headers will be allowed in CORS requests.
cors_max_age
int
0
Indicates how long (in seconds) the results of a preflight request can be cached.
Last updated
Was this helpful?