Skip to content

Commit

Permalink
[ML] Adding peak_model_bytes to model size stats type (elastic#70825) (
Browse files Browse the repository at this point in the history
…elastic#70925)

* [ML] Adding peak_model_bytes to model size stats type

* adding formatter
  • Loading branch information
jgowdyelastic authored Jul 8, 2020
1 parent 0de89b5 commit 1956613
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ export interface ModelSizeStats {
model_bytes: number;
model_bytes_exceeded: number;
model_bytes_memory_limit: number;
peak_model_bytes?: number;
total_by_field_count: number;
total_over_field_count: number;
total_partition_field_count: number;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export function formatValues([key, value]) {
case 'model_bytes':
case 'model_bytes_exceeded':
case 'model_bytes_memory_limit':
case 'peak_model_bytes':
value = formatData(value);
break;

Expand Down

0 comments on commit 1956613

Please sign in to comment.