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: exporter/exporterhelper/README.md
+10-3Lines changed: 10 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -17,12 +17,10 @@ The following configuration options can be modified:
17
17
-`sending_queue`
18
18
-`enabled` (default = true)
19
19
-`num_consumers` (default = 10): Number of consumers that dequeue batches; ignored if `enabled` is `false`
20
-
-`queue_size` (default = 5000): Maximum number of batches kept in memory or on disk (for persistent storage) before dropping; ignored if `enabled` is `false`
20
+
-`queue_size` (default = 5000): Maximum number of batches kept in memory before dropping; ignored if `enabled` is `false`
21
21
User should calculate this as `num_seconds * requests_per_second` where:
22
22
-`num_seconds` is the number of seconds to buffer in case of a backend outage
23
23
-`requests_per_second` is the average number of requests per seconds.
24
-
-`persistent_storage_enabled` (default = false): When set, enables persistence via a file storage extension
25
-
(note, `enable_unstable` build tag needs to be enabled first, see below for more details)
26
24
-`resource_to_telemetry_conversion`
27
25
-`enabled` (default = false): If `enabled` is `true`, all the resource attributes will be converted to metric labels by default.
28
26
-`timeout` (default = 5s): Time to wait per individual attempt to send data to a backend.
@@ -36,6 +34,15 @@ The full list of settings exposed for this helper exporter are documented [here]
36
34
> :warning: The capability is under development and currently can be enabled only in OpenTelemetry
37
35
> Collector Contrib with `enable_unstable` build tag set.
38
36
37
+
With this build tag set, additional configuration option can be enabled:
38
+
39
+
-`sending_queue`
40
+
-`persistent_storage_enabled` (default = false): When set, enables persistence via a file storage extension
41
+
(note, `enable_unstable` build tag needs to be enabled first, see below for more details)
42
+
43
+
The maximum number of batches stored to disk can be controlled using `sending_queue.queue_size` parameter (which,
44
+
similarly as for in-memory buffering, defaults to 5000 batches).
45
+
39
46
When `persistent_storage_enabled` is set to true, the queue is being buffered to disk using
0 commit comments