Prometheus with Cribl Stream
Endpoint, job, and metric settings for Prometheus, per the docs.
What it is for
Cribl Stream can send metric events to targets and third-party platforms that support the Prometheus remote write specification. The Prometheus Destination page lists the Destination as Type: Streaming, TLS Support: Configurable, and PQ Support: Yes.
The page points to two ready paths: the System Metrics to Grafana use case, which sends host metrics to Grafana's Cribl Node Observability dashboard, and Cribl Search itself, a supported target in which you point this Destination at the Prometheus Remote Write Source in Cribl Search.
Configuring the destination
Select Products, then Cribl Stream, and under Worker Groups select a Worker Group. Configure either via QuickConnect (Routing, then QuickConnect, then Add Destination, choosing Select Existing or Add New) or via the Routes (Data, then Destinations, then Add Destination). In the New Destination modal you set General Settings, then optionally the Authentication, Persistent Queue, Processing, Retries, and Advanced sections, then select Save, then Commit & Deploy.
General Settings hold Output ID (a unique name; a clone gets -CLONE appended to the original Output ID), Description (optional), and Remote Write URL (the endpoint to send events to; for Cribl Search, the address, port, and remote write endpoint of the Prometheus Remote Write Source in your Workspace). The destination page shows these two example values, copied from the Prometheus Destination documentation:
http://localhost:9200/write
https://search.main.foo-bar-abc123.cribl.cloud:10092/api/v1/write
That stacks the page's local-endpoint and Cribl Search workspace examples.
Optional Settings add Backpressure behavior (block, drop, or queue events when all receivers are exerting backpressure) and Tags (used to filter and group Destinations on the Destinations page, never added to processed events; a tab or hard return separates names).
Authentication offers six choices: None; Auth token (the Token field holds the bearer token for the HTTP authorization header); Auth token (text secret) (a drop-down to a stored text secret, with a Create link for a new reusable secret); Basic (Username and Password fields); Basic (credentials secret) (a stored credentials secret, with a Create link); and AWS Signature v4 (SigV4 request signing for endpoints requiring AWS authentication, such as Amazon Managed Service for Prometheus). Selecting AWS Signature v4 exposes Authentication method (Auto, using the AWS SDK for JavaScript default credential provider chain, or Secret Key pair, a stored secret referencing an AWS access key and secret key), Region (for example us-east-1), and AWS service ID (defaults to aps for Amazon Managed Service for Prometheus). The Remote Write URL must then use https://, and an Assume Role tab appears for cross-account access.
The Assume Role section appears when AWS Signature v4 is selected. For resources in a different Region than Cribl Stream, target that Region's STS endpoint via the CRIBL_AWS_STS_REGION environment variable on your Worker Node, or set CRIBL_AWS_STS_ENDPOINT for a custom endpoint; if both are set, the latter takes precedence. Fields: Enable for Prometheus, AssumeRole ARN, External ID, and Duration (seconds) (minimum 900, maximum 43200, default 3600).
Persistent Queue Settings display when Backpressure behavior is Persistent Queue. Mode selects when Cribl Stream engages the queue: Error stores data on disk when the Destination is unavailable or in an error state, Backpressure stores to disk until the backpressure resolves, and Always On immediately queues all data to disk.
- File size limit: defaults to
10 MB; must be greater than or equal to Buffer size limit (bytes), and invalid combinations are rejected. - Queue size limit: defaults to
5 GB; at the limit the Destination stops queueing and applies the Queue-full behavior. Accepts up to1 TBunless a different Worker Process PQ size limit is configured. - Queue file path: defaults to
$CRIBL_HOME/state/queues, with the worker ID and output ID appended. - Compression: defaults to
None;Gzipis also available. - Queue-full behavior: Block (refuse new data until the receiver is ready) or Drop new data.
- Buffer size limit (bytes): range
64KBto10MB, default1MB; units are case-insensitive, decimals are not accepted, and out-of-range values round to the nearest limit. - Backpressure duration limit: displays when Mode is Backpressure; defaults to
30seconds. - Strict ordering: on by default, with FIFO forwarding and the queue flushing every 10 seconds; toggling off exposes Drain rate limit (EPS), whose default of
0disables throttling. - Clear Persistent Queue: Cloud Enterprise only; deletes queued data without delivering it, after a confirmation modal. It appears only after you define the Output ID.
On Cribl-managed Cloud Workers with an Enterprise plan, this tab exposes only Mode and Backpressure duration limit plus the destructive Clear Persistent Queue button, and a maximum queue size of 1 GB is automatically allocated per PQ-enabled Destination, per Worker Process, on outbound uncompressed data. The limit is not configurable, a full queue blocks outbound data, and the page points to a hybrid group for configuring queue size and compression. Some settings might not appear if the Worker Group-level PQ storage is set to Network filesystem or AWS S3, since that behavior is managed there.
Processing Settings: the Pipeline or Pack that processes data before sending, and System fields added automatically to events that use this output, including by default cribl_host (the Cribl Stream Node) and cribl_wp (the Worker Process) that processed the event. Wildcards are supported; the other fields are cribl_input, cribl_output, cribl_pipe, cribl_route, cribl_group, and cribl_mode.
Retries: the Honor Retry-After header toggle honors that header, provided it specifies a delay no longer than 180 seconds; the delay is capped at 180 seconds, and any received header takes precedence over the other Retries options. By default, Cribl Stream/Edge applies predefined retry strategies via an exponential backoff algorithm. Any 1xx or 3xx request is dropped; 5xx series, and 401, 403, and 408, retry in memory or the persistent queue if enabled, with backpressure after the limit is reached; any other 4xx is dropped. A 429 not listed in the retry settings is dropped by default; include it in Settings for failed HTTP requests to have it retried.
Settings for failed HTTP requests: select Add Setting per response code (for example 429 or 503) and set Pre-backoff interval (ms) (default 1000), Backoff multiplier (default 2, so retries come after 2, 4, 8, and so on seconds), and Backoff limit (ms) (default and minimum 10,000, maximum 180,000). The Retry timed-out HTTP requests toggle exposes the same three settings. Destinations created before the 4.16.0 release do not support the default 4xx series retry behavior; reconfigure the Destination to enable it.
Advanced Settings:
- Validate server certs: rejects certificates not authorized by a trusted CA; defaults to on.
- Round-robin DNS: uses each resolved IP address in the order the DNS server returns it for subsequent connection attempts.
- Request timeout: defaults to
30seconds. - Request concurrency: defaults to
5per Worker Process; minimum1, maximum32. - Body size limit (KB): defaults to
4096; the actual body might exceed the value because the Destination adds bytes when writing to the receiver. - Events-per-request limit: the
0default allows unlimited events. - Flush period (sec): defaults to
1; low values can leave the payload smaller than its configured maximum. - Extra HTTP headers: name-value pairs; values are sent encrypted.
- Metric renaming expression: a JavaScript expression for renaming metrics; the default replaces all
.characters in a metric's name with the Prometheus-supported_; use thenamevariable and__e.<fieldName>for event fields. - Send metadata: sends the metrics' metadata (
typeandmetricFamilyName); toggling on displays Metadata flush period (sec), default60, which must at least equal the base Flush period (sec). - Failed request logging mode: None (default), Payload, or Payload + Headers, which redacts all headers except Safe headers.
- Safe headers: names declared safe to log in plaintext; sensitive headers such as
authorizationare always redacted. - Environment: for GitOps, the single branch on which to enable this configuration; if empty, it is enabled everywhere.
Using it
Event eligibility: Cribl Stream uses a set of internal fields to assist in forwarding data to a Destination. If an event contains the internal field __criblMetrics, Cribl Stream sends it to the HTTP endpoint as a metric event; otherwise, Cribl Stream drops the event.
The configuration modal also carries troubleshooting tabs: Live Data (click Start Capture to view real-time events as they flow through the Destination), Logs (delivery details, including errors and warnings), and Test (click Run Test to verify the Destination is correctly set up and reachable). The Monitoring page adds data volume and rate graphs of events and bytes in and out over time.
What the docs flag
- Unlike other HTTP-based Destinations, Prometheus does not display an Advanced Settings Compress option. The remote_write spec requires payloads to be protobuf-encoded and snappy-compressed, Cribl Stream/Edge automatically encodes and compresses every payload, and there is no separate user-configurable compression setting.
- Cribl Stream attempts keepalives to reuse a connection for multiple requests; after two minutes of the first use the connection is thrown away and a new one attempted, to prevent sticking to a particular destination under a constant event flow. If the server does not support keepalives, or closes a pooled connection while idle, a new connection is established for the next request.
- When resolving the Destination's hostname, Cribl Stream picks the first IP in the list for the next connection; enable Round-robin DNS to better balance distribution between Prometheus cluster nodes.
- If a Worker/Edge Node starts with an invalid Mode setting, it automatically switches to Error mode. This might happen if the node runs a version that does not support the other modes (older than 4.9.0), or if it encounters a nonexistent value in YAML configuration files.
- Buffer size limit (bytes) replaces the deprecated Buffer size limit (events) setting as of version 4.18.0; upgraded Worker Groups and Fleets default to 1MB, and the page asks that you update configurations to use the byte-based limit.
- Destinations created before the 4.16.0 release do not support the default 4xx series retry behavior; reconfigure them to gain it.
- By default, a 429 response not listed in the retry settings is treated as a non-retryable 4xx error and dropped; include it in Settings for failed HTTP requests if you want it retried.
- For AWS SigV4, the Remote Write URL must use https, and the page steers you to the purpose-built Amazon Managed Service for Prometheus destination for URL validation and AMP-specific error handling.
- The Clear Persistent Queue button is destructive: it permanently deletes queued data without delivering it, so use it with caution.
Frequently asked questions
What does the Prometheus Destination in Cribl Stream send, and to what?
Cribl Stream uses it to send metric events to targets and third-party platforms that support the Prometheus remote write specification. Every payload is protobuf-encoded and snappy-compressed automatically before sending. The page lists the Destination as Type: Streaming, TLS Support: Configurable, and PQ Support: Yes.
Which fields make up General Settings for the Prometheus Destination?
General Settings contain Output ID (a unique name, with -CLONE appended on clone), an optional Description, and Remote Write URL, the endpoint that receives events. Optional Settings then add Backpressure behavior and Tags, followed by the Authentication, Persistent Queue, Processing, Retries, and Advanced sections.
How does Cribl Stream decide which events go to the Prometheus endpoint?
If an event contains the internal field __criblMetrics, Cribl Stream sends it to the HTTP endpoint as a metric event. Otherwise, Cribl Stream drops the event.
What is the default retry behavior for failed requests to the Prometheus Destination?
Cribl Stream/Edge applies predefined retry strategies with an exponential backoff algorithm by default. Any 1xx or 3xx status code drops the request, while 5xx series, and 401, 403, and 408, retry in memory or the persistent queue if enabled and initiate backpressure after the limit is reached. A 429 not listed in the retry settings is dropped by default.
Source
Verified against Cribl Stream 4.20 documentation on November 10, 2026.