You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ internal API changes are not present.
10
10
Main (unreleased)
11
11
-----------------
12
12
13
-
v1.11.0-rc.1
13
+
v1.11.0-rc.2
14
14
-----------------
15
15
16
16
### Breaking changes
@@ -152,6 +152,8 @@ v1.11.0-rc.1
152
152
153
153
- Reduce CPU of `prometheus.write.queue` by eliminating duplicate calls to calculate the protobuf Size. (@kgeckhart)
154
154
155
+
- Use new cache for metadata cache in `prometheus.write.queue` and support disabling the metadata cache with it disable by default. (@kgeckhart, @dehaansa)
Copy file name to clipboardExpand all lines: docs/sources/reference/components/prometheus/prometheus.write.queue.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -80,6 +80,7 @@ The following arguments are supported:
80
80
|`flush_interval`|`duration`| How long to wait until sending if `batch_count` isn't triggered. |`"1s"`| no |
81
81
|`headers`|`map(secret)`| Custom HTTP headers to add to all requests sent to the server. || no |
82
82
|`max_retry_attempts`|`uint`| Maximum number of retries before dropping the batch. |`0`| no |
83
+
|`metadata_cache_enabled`|`bool`| Enables an LRU cache for tracking Metadata to support sparse metadata sending. |`false`| no |
83
84
|`metadata_cache_size`|`uint`| Maximum number of metadata entries to keep in cache to track what has been sent. |`1000`| no |
84
85
|`protobuf_message`|`string`| Protobuf message format to use for remote write. |`"prometheus.WriteRequest"`| no |
85
86
|`proxy_url`|`string`| URL of the HTTP proxy to use for requests. || no |
@@ -90,7 +91,7 @@ The following arguments are supported:
90
91
91
92
`protobuf_message` must be `prometheus.WriteRequest` or `io.prometheus.write.v2.Request`. These values represent prometheus remote write protocol versions 1 and 2.
92
93
93
-
`metadata_cache_size`is only relevant when using `io.prometheus.write.v2.Request`, and is intended to reduce the frequency of metadata sending to reduce overall network traffic.
94
+
'metadata_cache_enabled' and `metadata_cache_size`are only relevant when using `io.prometheus.write.v2.Request`, and is intended to reduce the frequency of metadata sending to reduce overall network traffic.
94
95
A larger cache_size will consume more memory, but if you are sending many different metrics will also reduce how frequently metadata is sent with samples.
0 commit comments