Skip to content

Commit

Permalink
Update docs/sources/reference/components/prometheus/prometheus.remote…
Browse files Browse the repository at this point in the history
….queue.md

Co-authored-by: Clayton Cornell <[email protected]>
  • Loading branch information
mattdurham and clayton-cornell authored Oct 9, 2024
1 parent d8cd012 commit 42fbdd9
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -250,10 +250,12 @@ Network errors will be retried. 429 errors will be retried. 5XX errors will retr

### Memory

`prometheus.remote.queue` is meant to be memory efficient. By adjusting the `max_signals_to_batch`, `queue_count`, and `batch_size` the amount of memory
can be controlled. A higher `max_signals_to_batch` allows for more efficient disk compression. A higher `queue_count` allows more concurrent writes and `batch_size`
allows more data sent at one time. This can allow greater throughput, at the cost of more memory on both {{< param "PRODUCT_NAME" >}} and the endpoint. The defaults are good for most
common usages.
`prometheus.remote.queue` is meant to be memory efficient.
You can adjust the `max_signals_to_batch`, `queue_count`, and `batch_size` to control how much memory is used.
A higher `max_signals_to_batch` allows for more efficient disk compression.
A higher `queue_count` allows more concurrent writes, and `batch_size` allows more data sent at one time.
This can allow greater throughput at the cost of more memory on both {{< param "PRODUCT_NAME" >}} and the endpoint.
The defaults are suitable for most common usages.

## Compatible components

Expand Down

0 comments on commit 42fbdd9

Please sign in to comment.