| Modifier and Type | Field and Description |
|---|---|
static String |
ANY_TAG_VALUE |
| Constructor and Description |
|---|
MetricsHandler(MetricStore metricStore) |
| Modifier and Type | Method and Description |
|---|---|
void |
query(org.jboss.netty.handler.codec.http.HttpRequest request,
co.cask.http.HttpResponder responder,
List<String> metrics,
List<String> groupBy,
List<String> tags) |
void |
search(org.jboss.netty.handler.codec.http.HttpRequest request,
co.cask.http.HttpResponder responder,
String target,
List<String> tags) |
public static final String ANY_TAG_VALUE
@Inject public MetricsHandler(MetricStore metricStore)
@POST @Path(value="/search") public void search(org.jboss.netty.handler.codec.http.HttpRequest request, co.cask.http.HttpResponder responder, @QueryParam(value="target") String target, @QueryParam(value="tag") List<String> tags) throws Exception
Exception@POST @Path(value="/query") public void query(org.jboss.netty.handler.codec.http.HttpRequest request, co.cask.http.HttpResponder responder, @QueryParam(value="metric") List<String> metrics, @QueryParam(value="groupBy") List<String> groupBy, @QueryParam(value="tag") List<String> tags) throws Exception
ExceptionCopyright © 2015 Cask Data, Inc. Licensed under the Apache License, Version 2.0.