public class QueryMetric extends Object
Modifier and Type | Method and Description |
---|---|
QueryMetric |
addAggregator(Aggregator aggregator)
Adds an aggregator to the metric.
|
QueryMetric |
addGrouper(Grouper grouper)
Add a grouper to the metric.
|
QueryMetric |
addMultiValuedTags(Map<String,List<String>> tags)
Add a map of tags.
|
QueryMetric |
addTag(String name,
String... values)
Adds a tag with multiple values.
|
QueryMetric |
addTags(Map<String,String> tags)
Add a map of tags.
|
public QueryMetric addMultiValuedTags(Map<String,List<String>> tags)
tags
- tags to addpublic QueryMetric addTags(Map<String,String> tags)
tags
- tags to addpublic QueryMetric addTag(String name, String... values)
name
- tag namevalues
- tag valuespublic QueryMetric addAggregator(Aggregator aggregator)
aggregator
- aggregator to addpublic QueryMetric addGrouper(Grouper grouper)
grouper
- grouper to addCopyright © 2014. All rights reserved.