@logtail/types
Advanced tools
Comparing version 0.4.14 to 0.4.19
@@ -14,2 +14,6 @@ /** | ||
/** | ||
* Size of logs (in KiB) to trigger sync to Better Stack (0 to disable) | ||
*/ | ||
batchSizeKiB: number; | ||
/** | ||
* Max interval (in milliseconds) before a batch of logs proceeds to syncing | ||
@@ -68,2 +72,6 @@ */ | ||
sendLogsToBetterStack: boolean; | ||
/** | ||
* Function to be used to calculate size of logs in bytes (to evaluate batchSizeKiB). JSON length by default. | ||
**/ | ||
calculateLogSizeBytes: (logs: ILogtailLog) => number; | ||
} | ||
@@ -70,0 +78,0 @@ export interface ILogtailEdgeOptions extends ILogtailOptions { |
@@ -14,2 +14,6 @@ /** | ||
/** | ||
* Size of logs (in KiB) to trigger sync to Better Stack (0 to disable) | ||
*/ | ||
batchSizeKiB: number; | ||
/** | ||
* Max interval (in milliseconds) before a batch of logs proceeds to syncing | ||
@@ -68,2 +72,6 @@ */ | ||
sendLogsToBetterStack: boolean; | ||
/** | ||
* Function to be used to calculate size of logs in bytes (to evaluate batchSizeKiB). JSON length by default. | ||
**/ | ||
calculateLogSizeBytes: (logs: ILogtailLog) => number; | ||
} | ||
@@ -70,0 +78,0 @@ export interface ILogtailEdgeOptions extends ILogtailOptions { |
{ | ||
"name": "@logtail/types", | ||
"version": "0.4.14", | ||
"version": "0.4.19", | ||
"description": "Better Stack Typescript types (formerly Logtail)", | ||
@@ -47,3 +47,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "0eaf456a9bf7c2b0c62f0b1dd5015d8491865fff" | ||
"gitHead": "92195b1bac039404aaf4a8101f5084c374407003" | ||
} |
@@ -17,2 +17,7 @@ /** | ||
/** | ||
* Size of logs (in KiB) to trigger sync to Better Stack (0 to disable) | ||
*/ | ||
batchSizeKiB: number; | ||
/** | ||
* Max interval (in milliseconds) before a batch of logs proceeds to syncing | ||
@@ -83,2 +88,7 @@ */ | ||
sendLogsToBetterStack: boolean; | ||
/** | ||
* Function to be used to calculate size of logs in bytes (to evaluate batchSizeKiB). JSON length by default. | ||
**/ | ||
calculateLogSizeBytes: (logs: ILogtailLog) => number; | ||
} | ||
@@ -85,0 +95,0 @@ export interface ILogtailEdgeOptions extends ILogtailOptions { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19154
397