public class JsonMetricsParser extends Object
| Constructor and Description |
|---|
JsonMetricsParser() |
| Modifier and Type | Method and Description |
|---|---|
static ReportPoint |
makeHistogramPoint(String customer,
String metric,
String host,
Map<String,String> annotations,
long startMillis,
int durationMillis,
List<Double> bins,
List<Integer> counts) |
static ReportPoint |
makePoint(String table,
String metric,
String host,
double value,
long timestamp) |
static ReportPoint |
makePoint(String table,
String metric,
String host,
double value,
long timestamp,
Map<String,String> annotations) |
static ReportPoint |
makePoint(String table,
String metric,
String host,
long value,
long timestamp) |
static ReportPoint |
makePoint(String table,
String metric,
String host,
long value,
long timestamp,
Map<String,String> annotations) |
static ReportPoint |
makePoint(String table,
String metric,
String host,
String value,
long timestamp) |
static ReportPoint |
makePoint(String table,
String metric,
String host,
String value,
long timestamp,
Map<String,String> annotations) |
static Map<String,String> |
makeTags(com.fasterxml.jackson.databind.JsonNode tags) |
static void |
processValueNode(com.fasterxml.jackson.databind.JsonNode value,
String table,
String metric,
String host,
long timestamp,
List<ReportPoint> points,
Map<String,String> tags) |
static void |
report(String table,
String path,
com.fasterxml.jackson.databind.JsonNode node,
List<ReportPoint> points,
String host,
long timestamp) |
static void |
report(String table,
String path,
com.fasterxml.jackson.databind.JsonNode node,
List<ReportPoint> points,
String host,
long timestamp,
Map<String,String> tags) |
public static void report(String table, String path, com.fasterxml.jackson.databind.JsonNode node, List<ReportPoint> points, String host, long timestamp)
public static void report(String table, String path, com.fasterxml.jackson.databind.JsonNode node, List<ReportPoint> points, String host, long timestamp, Map<String,String> tags)
public static void processValueNode(com.fasterxml.jackson.databind.JsonNode value,
String table,
String metric,
String host,
long timestamp,
List<ReportPoint> points,
Map<String,String> tags)
public static ReportPoint makeHistogramPoint(String customer, String metric, String host, Map<String,String> annotations, long startMillis, int durationMillis, List<Double> bins, List<Integer> counts)
public static ReportPoint makePoint(String table, String metric, String host, String value, long timestamp)
public static ReportPoint makePoint(String table, String metric, String host, String value, long timestamp, Map<String,String> annotations)
public static ReportPoint makePoint(String table, String metric, String host, long value, long timestamp)
public static ReportPoint makePoint(String table, String metric, String host, long value, long timestamp, Map<String,String> annotations)
public static ReportPoint makePoint(String table, String metric, String host, double value, long timestamp)
public static ReportPoint makePoint(String table, String metric, String host, double value, long timestamp, Map<String,String> annotations)
Copyright © 2017. All rights reserved.