public class HeatmapController extends Object
| Constructor and Description |
|---|
HeatmapController() |
| Modifier and Type | Method and Description |
|---|---|
Heatmap |
getHeatmap(javax.servlet.http.HttpServletRequest request,
String metricGroup,
String metric,
String start,
String end,
double max,
double scale,
int width,
int height)
Render a heatmap
|
String |
heatmapTemplate(String metricGroup,
String metric,
String width,
String height,
String title,
String yLabel)
Render a heatmap from HBase series
|
public Heatmap getHeatmap(@Context javax.servlet.http.HttpServletRequest request, String metricGroup, String metric, String start, String end, double max, double scale, int width, int height)
request - is HTTP request objectmetricGroup - is metric group namemetric - is metric namestart - is start time in yyyyMMddHHmmss formatend - is end time in yyyyMMddHHmmss formatmax - is maximum possible value of the heatmapscale - is the range of possible valueswidth - is width of the imageheight - is height of the imagepublic String heatmapTemplate(String metricGroup, String metric, String width, String height, String title, String yLabel)
metricGroup - is metric group namemetric - is metric namewidth - is width of the imageheight - is height of the imagetitle - is title of the heatmapyLabel - is y axis label for the heatmapCopyright © 2016 Apache Software Foundation. All Rights Reserved.