Class CanaryJudgesController

java.lang.Object
com.netflix.kayenta.controllers.CanaryJudgesController

@RestController @RequestMapping("/judges") public class CanaryJudgesController extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
    CanaryJudgesController(com.netflix.kayenta.security.AccountCredentialsRepository accountCredentialsRepository, com.netflix.kayenta.storage.StorageServiceRepository storageServiceRepository, com.netflix.spinnaker.orca.pipeline.persistence.ExecutionRepository executionRepository, com.netflix.kayenta.canary.ExecutionMapper executionMapper, List<com.netflix.kayenta.canary.CanaryJudge> canaryJudges)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    com.netflix.kayenta.canary.CanaryExecutionResponse
    initiateJudgeComparison(String configurationAccountName, String storageAccountName, String canaryConfigId, String overrideCanaryJudge1, String overrideCanaryJudge2, String metricSetPairListId, Double passThreshold, Double marginalThreshold)
     
    com.netflix.kayenta.canary.results.CanaryJudgeResult
    judge(String configurationAccountName, String storageAccountName, String canaryConfigId, String metricSetPairListId, Double passThreshold, Double marginalThreshold)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CanaryJudgesController

      @Autowired public CanaryJudgesController(com.netflix.kayenta.security.AccountCredentialsRepository accountCredentialsRepository, com.netflix.kayenta.storage.StorageServiceRepository storageServiceRepository, com.netflix.spinnaker.orca.pipeline.persistence.ExecutionRepository executionRepository, com.netflix.kayenta.canary.ExecutionMapper executionMapper, List<com.netflix.kayenta.canary.CanaryJudge> canaryJudges)
  • Method Details

    • judge

      @PostMapping("/judge") public com.netflix.kayenta.canary.results.CanaryJudgeResult judge(@RequestParam(required=false) String configurationAccountName, @RequestParam(required=false) String storageAccountName, @RequestParam String canaryConfigId, @RequestParam String metricSetPairListId, @RequestParam Double passThreshold, @RequestParam Double marginalThreshold)
    • initiateJudgeComparison

      @PostMapping("/comparison") public com.netflix.kayenta.canary.CanaryExecutionResponse initiateJudgeComparison(@RequestParam(required=false) String configurationAccountName, @RequestParam(required=false) String storageAccountName, @RequestParam String canaryConfigId, @RequestParam(required=false) String overrideCanaryJudge1, @RequestParam(required=false) String overrideCanaryJudge2, @RequestParam String metricSetPairListId, @RequestParam Double passThreshold, @RequestParam Double marginalThreshold) throws com.fasterxml.jackson.core.JsonProcessingException
      Throws:
      com.fasterxml.jackson.core.JsonProcessingException
    • getJudgeComparisonResults

      @GetMapping("/comparison/{executionId:.+}") public Map getJudgeComparisonResults(@PathVariable String executionId)