@Path(value="/metrics") @Consumes(value="application/json") @Produces(value="application/json") public class MetricHandler extends Object
| Constructor and Description |
|---|
MetricHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
addMetricsData(javax.ws.rs.container.AsyncResponse asyncResponse,
MixedMetricsRequest metricsRequest) |
void |
findMetrics(javax.ws.rs.container.AsyncResponse asyncResponse,
org.hawkular.metrics.core.api.MetricType metricType,
Tags tags) |
@GET
@Path(value="/")
public void findMetrics(@Suspended
javax.ws.rs.container.AsyncResponse asyncResponse,
@QueryParam(value="type")
org.hawkular.metrics.core.api.MetricType metricType,
@QueryParam(value="tags")
Tags tags)
@POST
@Path(value="/data")
public void addMetricsData(@Suspended
javax.ws.rs.container.AsyncResponse asyncResponse,
MixedMetricsRequest metricsRequest)
Copyright © 2014–2015 Red Hat, Inc.. All rights reserved.