Class MetricSetPairListController

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

@RestController @RequestMapping("/metricSetPairList") public class MetricSetPairListController extends Object
  • Constructor Details

    • MetricSetPairListController

      @Autowired public MetricSetPairListController(com.netflix.kayenta.service.MetricSetPairListService metricSetPairListService)
  • Method Details

    • loadMetricSetPairList

      @RequestMapping(value="/{metricSetPairListId:.+}", method=GET) public List<com.netflix.kayenta.metrics.MetricSetPair> loadMetricSetPairList(@RequestParam(required=false) String accountName, @PathVariable String metricSetPairListId)
    • loadMetricSetPair

      @RequestMapping(value="/{metricSetPairListId:.+}/{metricSetPairId:.+}", method=GET) public org.springframework.http.ResponseEntity<com.netflix.kayenta.metrics.MetricSetPair> loadMetricSetPair(@RequestParam(required=false) String accountName, @PathVariable String metricSetPairListId, @PathVariable String metricSetPairId)
    • storeMetricSetPairList

      @RequestMapping(consumes="application/json", method=POST) public Map storeMetricSetPairList(@RequestParam(required=false) String accountName, @RequestBody List<com.netflix.kayenta.metrics.MetricSetPair> metricSetPairList) throws IOException
      Throws:
      IOException
    • deleteMetricSetPairList

      @ResponseStatus(NO_CONTENT) @RequestMapping(value="/{metricSetPairListId:.+}", method=DELETE) public void deleteMetricSetPairList(@RequestParam(required=false) String accountName, @PathVariable String metricSetPairListId)
    • listAllMetricSetPairLists

      @RequestMapping(method=GET) public List<Map<String,Object>> listAllMetricSetPairLists(@RequestParam(required=false) String accountName)