Skip to content

Commit

Permalink
chore: Made some tweaks to the /standalone_canary_analysis api docs. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
fieldju authored and cfieber committed Jul 17, 2019
1 parent a7f3a5c commit 0191ba9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ public class CanaryAnalysisExecutionRequest {
@ApiModelProperty(value =
"If this optional value is supplied, then the canary analysis execution will perform judgements on a sliding time window. " +
"The judgements will be from endTime - lookbackMins to startTime + (judgementNumber * interval). " +
"If lookbackMins is not exactly equal to interval, then the metrics analyzed will be overlapping or discontiguous.\n" +
"If lookbackMins is not exactly equal to interval, then the metrics analyzed will be overlapping or discontinuous.\n" +
"If this field is omitted, the judgements will be performed on a growing time window, " +
"from startTime + (judgementNumber - 1 * interval) to startTime + (judgementNumber * interval).\n")
"from startTime + to startTime + (judgementNumber * interval).\n")
private Long lookbackMins = 0L;

@ApiModelProperty(value =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ protected Map<String, CanaryScopePair> buildRequestScopes(CanaryAnalysisExecutio
}

/**
* Calculates the start and end timestamps that will be used when quering the metrics sources when doing the
* Calculates the start and end timestamps that will be used when querying the metrics sources when doing the
* canary judgements for each judgement interval.
*
* @param judgementNumber The judgement number / index for the canary analysis execution
Expand Down

0 comments on commit 0191ba9

Please sign in to comment.