Skip to content

Commit

Permalink
updates telemtry
Browse files Browse the repository at this point in the history
  • Loading branch information
shahzad31 committed Apr 3, 2020
1 parent 048a854 commit b6a77ce
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ export class KibanaTelemetryAdapter {
this.collector[bucket].monitor_name_stats = {
min_length: monitorNameStats?.min_length ?? 0,
max_length: monitorNameStats?.max_length ?? 0,
avg_length: +monitorNameStats?.avg_length.toFixed(2),
avg_length: +(monitorNameStats?.avg_length.toFixed(2) ?? 0),
};

this.collector[bucket].observer_location_name_stats = {
Expand Down

0 comments on commit b6a77ce

Please sign in to comment.