Skip to content

Commit

Permalink
Merge pull request #94 from Financial-Times/lk/graphite-working-time
Browse files Browse the repository at this point in the history
Adding back override to graphiteWorking
  • Loading branch information
liamkeaton authored Jul 11, 2018
2 parents 569d447 + 5c4e1eb commit 6c1e669
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/checks/graphiteWorking.check.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class GraphiteWorkingCheck extends Check {
throw new Error(`You must pass in a metric for the "${options.name}" check - e.g., "next.heroku.article.*.express.start"`);
}

const fromTime = '-5minutes';
const fromTime = options.time || '-5minutes';
this.url = encodeURI(`https://graphite-api.ft.com/render/?target=${this.metric}&from=${fromTime}&format=json`);

this.checkOutput = "This check has not yet run";
Expand Down

0 comments on commit 6c1e669

Please sign in to comment.