Skip to content

Commit

Permalink
feat(ironfish): Update telemetry flush and metrics intervals to 5m (i…
Browse files Browse the repository at this point in the history
…ron-fish#1038)

* feat(ironfish): Update telemetry flush interval from 5s to 60s

* Update to 5m

* Update METRICS_INTERVAL
  • Loading branch information
rohanjadvani authored and AmberKiso committed Feb 23, 2022
1 parent 8ae3a5e commit 67289f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ironfish/src/telemetry/telemetry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ import { Metric } from './interfaces/metric'
import { Tag } from './interfaces/tag'

export class Telemetry {
private readonly FLUSH_INTERVAL = 5000
private readonly FLUSH_INTERVAL = 5 * 60 * 1000
private readonly MAX_POINTS_TO_SUBMIT = 1000
private readonly MAX_RETRIES = 5
private readonly METRICS_INTERVAL = 60 * 1000
private readonly METRICS_INTERVAL = 5 * 60 * 1000

private readonly defaultTags: Tag[]
private readonly defaultFields: Field[]
Expand Down

0 comments on commit 67289f0

Please sign in to comment.