-
Notifications
You must be signed in to change notification settings - Fork 139
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(metrics): flush metrics when data points array reaches max size (#…
…1548) * test: added failing test * fix(metrics): flush metrics when values array reaches max size
- Loading branch information
1 parent
fe66031
commit 24c247c
Showing
3 changed files
with
50 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,13 @@ | ||
export const COLD_START_METRIC = 'ColdStart'; | ||
export const DEFAULT_NAMESPACE = 'default_namespace'; | ||
export const MAX_METRICS_SIZE = 100; | ||
export const MAX_DIMENSION_COUNT = 29; | ||
const COLD_START_METRIC = 'ColdStart'; | ||
const DEFAULT_NAMESPACE = 'default_namespace'; | ||
const MAX_METRICS_SIZE = 100; | ||
const MAX_METRIC_VALUES_SIZE = 100; | ||
const MAX_DIMENSION_COUNT = 29; | ||
|
||
export { | ||
COLD_START_METRIC, | ||
DEFAULT_NAMESPACE, | ||
MAX_METRICS_SIZE, | ||
MAX_METRIC_VALUES_SIZE, | ||
MAX_DIMENSION_COUNT, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters