Skip to content
This repository was archived by the owner on Jun 13, 2023. It is now read-only.

Commit 82c54ab

Browse files
author
Nimrod Shlagman
authoredNov 4, 2021
fix(batch-default): mod consts and readme (#67)
1 parent a7401fe commit 82c54ab

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
 

‎README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,10 @@ Advanced options can be configured as a parameter to the init() method.
9191
|propagateTraceHeaderUrls |Array|`*` |Which outgoing requests to add traceparent headers to. Defaults to all. |
9292
|urlPatternsToIgnore |Array|[] |Which outgoing requests to ignore (and not add traceparent to. Default to [] |
9393
|networkSamplingRatio|Float |1.0 |How many spans are exported, configured between 0.0 (send nothing) to 1.0 (send everything)|
94-
|maxQueueSize |Integer|2048 |Maximum queue size, afterwhich spans are dropped |
94+
|maxQueueSize |Integer|2048 |Maximum queue size (bytes), afterwhich spans are dropped |
9595
|scheduledDelayMillis|Integer|5000|Delay interval in milliseconds between two consecutive exports |
9696
|exportTimeoutMillis|Integer|30000|How many milliseconds the export can run before it is cancelled|
97-
|maxBatchSize |Integer|512 |Maximum batch size of every export. Has to be small or equal to maxQueueSize|
97+
|maxBatchSize |Integer|1024 |Maximum batch size (bytes) of every export. Has to be small or equal to maxQueueSize|
9898
|isEpsagonDisabled |Boolean|`false` |A flag to completely disable Epsagon (can be used for tests or locally) |
9999
|epsagonDebug |Boolean|`false` |Enable debug prints for troubleshooting. Note: if this flag is true, this will override the logLevel|
100100
|logLevel |String|`INFO` |The default Log level. Could be one of: ```DEBUG```, ```INFO```, ```WARN```, ```ERROR```, ```ALL```.|

‎packages/web/src/consts.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const DEFAULT_CONFIGURATIONS = {
55
collectorURL: 'https://opentelemetry.tc.epsagon.com/traces',
66
pageLoadTimeout: 30000,
77
redirectTimeout: 3000,
8-
maxBatchSize: 512,
8+
maxBatchSize: 1024,
99
maxQueueSize: 2048,
1010
scheduledDelayMillis: 5000,
1111
exportTimeoutMillis: 30000,

0 commit comments

Comments
 (0)
This repository has been archived.