@Controller
@RequestMapping(value="/scenarios/{scenario}/metrics")
public class MetricsController
extends Object
| Constructor and Description |
|---|
MetricsController() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAllMetrics(String scenario) |
List<String> |
listLabelNameByMetric(String scenario,
String metric) |
List<String> |
listLabelValuesByMetric(String scenario,
String metric,
String label) |
@ResponseBody @RequestMapping(method=GET) public List<String> getAllMetrics(@PathVariable String scenario)
@ResponseBody
@RequestMapping(value="/{metric}/labels",
method=GET)
public List<String> listLabelNameByMetric(@PathVariable
String scenario,
@PathVariable
String metric)
Copyright © 2015. All Rights Reserved.