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

Commit

Permalink
fix(batch-default): mod consts and readme (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nimrod Shlagman authored Nov 4, 2021
1 parent a7401fe commit 82c54ab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,10 @@ Advanced options can be configured as a parameter to the init() method.
|propagateTraceHeaderUrls |Array|`*` |Which outgoing requests to add traceparent headers to. Defaults to all. |
|urlPatternsToIgnore |Array|[] |Which outgoing requests to ignore (and not add traceparent to. Default to [] |
|networkSamplingRatio|Float |1.0 |How many spans are exported, configured between 0.0 (send nothing) to 1.0 (send everything)|
|maxQueueSize |Integer|2048 |Maximum queue size, afterwhich spans are dropped |
|maxQueueSize |Integer|2048 |Maximum queue size (bytes), afterwhich spans are dropped |
|scheduledDelayMillis|Integer|5000|Delay interval in milliseconds between two consecutive exports |
|exportTimeoutMillis|Integer|30000|How many milliseconds the export can run before it is cancelled|
|maxBatchSize |Integer|512 |Maximum batch size of every export. Has to be small or equal to maxQueueSize|
|maxBatchSize |Integer|1024 |Maximum batch size (bytes) of every export. Has to be small or equal to maxQueueSize|
|isEpsagonDisabled |Boolean|`false` |A flag to completely disable Epsagon (can be used for tests or locally) |
|epsagonDebug |Boolean|`false` |Enable debug prints for troubleshooting. Note: if this flag is true, this will override the logLevel|
|logLevel |String|`INFO` |The default Log level. Could be one of: ```DEBUG```, ```INFO```, ```WARN```, ```ERROR```, ```ALL```.|
Expand Down
2 changes: 1 addition & 1 deletion packages/web/src/consts.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const DEFAULT_CONFIGURATIONS = {
collectorURL: 'https://opentelemetry.tc.epsagon.com/traces',
pageLoadTimeout: 30000,
redirectTimeout: 3000,
maxBatchSize: 512,
maxBatchSize: 1024,
maxQueueSize: 2048,
scheduledDelayMillis: 5000,
exportTimeoutMillis: 30000,
Expand Down

0 comments on commit 82c54ab

Please sign in to comment.