Skip navigation links
B C D E F G H N O P R S T W 

B

build() - Method in class com.github.sps.metrics.opentsdb.OpenTsdbMetric.Builder
 
build(OpenTsdb) - Method in class com.github.sps.metrics.OpenTsdbReporter.Builder
Builds a OpenTsdbReporter with the given properties, sending metrics using the given OpenTsdb client.
Builder(String) - Constructor for class com.github.sps.metrics.opentsdb.OpenTsdb.Builder
 
Builder(String) - Constructor for class com.github.sps.metrics.opentsdb.OpenTsdbMetric.Builder
 

C

com.github.sps.metrics - package com.github.sps.metrics
 
com.github.sps.metrics.opentsdb - package com.github.sps.metrics.opentsdb
 
CONN_TIMEOUT_DEFAULT_MS - Static variable in class com.github.sps.metrics.opentsdb.OpenTsdb
 
convertDurationsTo(TimeUnit) - Method in class com.github.sps.metrics.OpenTsdbReporter.Builder
Convert durations to the given time unit.
convertRatesTo(TimeUnit) - Method in class com.github.sps.metrics.OpenTsdbReporter.Builder
Convert rates to the given time unit.
create() - Method in class com.github.sps.metrics.opentsdb.OpenTsdb.Builder
 
create(WebTarget) - Static method in class com.github.sps.metrics.opentsdb.OpenTsdb
create a client by providing the underlying WebResource
create() - Method in class com.github.sps.metrics.opentsdb.OpenTsdbTelnet.Builder
 

D

DEFAULT_BATCH_SIZE_LIMIT - Static variable in class com.github.sps.metrics.opentsdb.OpenTsdb
 
delimiter - Static variable in class com.github.sps.metrics.TaggedMetricRegistry
 

E

encodeTagsInName(String, String) - Static method in class com.github.sps.metrics.opentsdb.OpenTsdbMetric
Add TSDB tags to a CodaHale metric name.
encodeTagsInName(String, Map<String, String>) - Static method in class com.github.sps.metrics.opentsdb.OpenTsdbMetric
Add TSDB tags to a CodaHale metric name.
equals(Object) - Method in class com.github.sps.metrics.opentsdb.OpenTsdbMetric
 

F

filter(MetricFilter) - Method in class com.github.sps.metrics.OpenTsdbReporter.Builder
Only report metrics which match the given filter.
fixEncodedTagsInNameAfterPrefix(String) - Static method in class com.github.sps.metrics.opentsdb.OpenTsdbMetric
Call this function whenever a potentially tag-encoded name is prefixed.
formatTags(Map<String, String>) - Static method in class com.github.sps.metrics.opentsdb.OpenTsdbMetric
Convert a tag map into a space-delimited string.
forRegistry(MetricRegistry) - Static method in class com.github.sps.metrics.OpenTsdbReporter
forService(String) - Static method in class com.github.sps.metrics.opentsdb.OpenTsdb
Initiate a client Builder with the provided base opentsdb server url.
forService(String, int) - Static method in class com.github.sps.metrics.opentsdb.OpenTsdbTelnet
Initiate a client OpenTsdbTelnet.Builder with the provided opentsdb server host:port.
forWriter(Writer) - Static method in class com.github.sps.metrics.opentsdb.OpenTsdbTelnet
Initiate a client OpenTsdbTelnet.Builder with a particular Writer.

G

getBaseName(String) - Static method in class com.github.sps.metrics.TaggedMetricRegistry
 
getMetric() - Method in class com.github.sps.metrics.opentsdb.OpenTsdbMetric
 
getOrRegisterTaggedMetric(String, TaggedMetric) - Method in class com.github.sps.metrics.TaggedMetricRegistry
 
getTaggedCounter(String, Map<String, String>) - Method in class com.github.sps.metrics.TaggedMetricRegistry
 
getTaggedHistogram(String, Map<String, String>) - Method in class com.github.sps.metrics.TaggedMetricRegistry
 
getTaggedMeter(String, Map<String, String>) - Method in class com.github.sps.metrics.TaggedMetricRegistry
 
getTaggedMetric(String, Map<String, String>) - Method in class com.github.sps.metrics.TaggedMetricRegistry
 
getTaggedName(String, Map<String, String>) - Static method in class com.github.sps.metrics.TaggedMetricRegistry
 
getTaggedTimer(String, Map<String, String>) - Method in class com.github.sps.metrics.TaggedMetricRegistry
 
getTags() - Method in class com.github.sps.metrics.opentsdb.OpenTsdbMetric
 
getTags() - Method in class com.github.sps.metrics.TaggedCounter
 
getTags() - Method in class com.github.sps.metrics.TaggedHistogram
 
getTags() - Method in class com.github.sps.metrics.TaggedJmxAttributeGauge
 
getTags() - Method in class com.github.sps.metrics.TaggedMeter
 
getTags() - Method in interface com.github.sps.metrics.TaggedMetric
 
getTags() - Method in class com.github.sps.metrics.TaggedTimer
 
getTimestamp() - Method in class com.github.sps.metrics.opentsdb.OpenTsdbMetric
 
getValue() - Method in class com.github.sps.metrics.opentsdb.OpenTsdbMetric
 
getWriter() - Method in class com.github.sps.metrics.opentsdb.OpenTsdbTelnet.SingleWriterFactory
 
getWriter() - Method in class com.github.sps.metrics.opentsdb.OpenTsdbTelnet.SocketWriterFactory
 
getWriter() - Method in interface com.github.sps.metrics.opentsdb.OpenTsdbTelnet.WriterFactory
 

H

hasEncodedTagInName(String) - Static method in class com.github.sps.metrics.opentsdb.OpenTsdbMetric
Tests whether a name has been processed with encodeTagsInName.
hashCode() - Method in class com.github.sps.metrics.opentsdb.OpenTsdbMetric
 

N

named(String) - Static method in class com.github.sps.metrics.opentsdb.OpenTsdbMetric
Creates a Builder for a metric name.

O

OpenTsdb - Class in com.github.sps.metrics.opentsdb
OpenTSDB 2.0 jersey based REST client.
OpenTsdb() - Constructor for class com.github.sps.metrics.opentsdb.OpenTsdb
For OpenTsdbTelnet
OpenTsdb.Builder - Class in com.github.sps.metrics.opentsdb
 
OpenTsdbMetric - Class in com.github.sps.metrics.opentsdb
Representation of a metric.
OpenTsdbMetric.Builder - Class in com.github.sps.metrics.opentsdb
 
OpenTsdbReporter - Class in com.github.sps.metrics
A reporter which publishes metric values to a OpenTSDB server.
OpenTsdbReporter.Builder - Class in com.github.sps.metrics
A builder for OpenTsdbReporter instances.
OpenTsdbTelnet - Class in com.github.sps.metrics.opentsdb
Same as the OpenTsdb class in this package, but uses the Telnet format.
OpenTsdbTelnet.Builder - Class in com.github.sps.metrics.opentsdb
 
OpenTsdbTelnet.SingleWriterFactory - Class in com.github.sps.metrics.opentsdb
 
OpenTsdbTelnet.SocketWriterFactory - Class in com.github.sps.metrics.opentsdb
 
OpenTsdbTelnet.WriterFactory - Interface in com.github.sps.metrics.opentsdb
 

P

parseTags(String) - Static method in class com.github.sps.metrics.opentsdb.OpenTsdbMetric
Convert a tag string into a tag map.
prefixedWith(String) - Method in class com.github.sps.metrics.OpenTsdbReporter.Builder
Prefix all metric names with the given string.

R

READ_TIMEOUT_DEFAULT_MS - Static variable in class com.github.sps.metrics.opentsdb.OpenTsdb
 
report(SortedMap<String, Gauge>, SortedMap<String, Counter>, SortedMap<String, Histogram>, SortedMap<String, Meter>, SortedMap<String, Timer>) - Method in class com.github.sps.metrics.OpenTsdbReporter
 

S

sanitize(String) - Static method in class com.github.sps.metrics.opentsdb.OpenTsdbMetric
Sanitizes a metric name, tag key, or tag value by removing characters not allowed by TSDB.
send(OpenTsdbMetric) - Method in class com.github.sps.metrics.opentsdb.OpenTsdb
Send a metric to opentsdb
send(Set<OpenTsdbMetric>) - Method in class com.github.sps.metrics.opentsdb.OpenTsdb
send a set of metrics to opentsdb
send(OpenTsdbMetric) - Method in class com.github.sps.metrics.opentsdb.OpenTsdbTelnet
Send a metric to opentsdb
send(Set<OpenTsdbMetric>) - Method in class com.github.sps.metrics.opentsdb.OpenTsdbTelnet
send a set of metrics to opentsdb
setBatchSizeLimit(int) - Method in class com.github.sps.metrics.opentsdb.OpenTsdb
 
SingleWriterFactory(Writer) - Constructor for class com.github.sps.metrics.opentsdb.OpenTsdbTelnet.SingleWriterFactory
 
SocketWriterFactory(String, int) - Constructor for class com.github.sps.metrics.opentsdb.OpenTsdbTelnet.SocketWriterFactory
 

T

TaggedCachedGauge<T> - Class in com.github.sps.metrics
 
TaggedCachedGauge(Clock, long, TimeUnit) - Constructor for class com.github.sps.metrics.TaggedCachedGauge
 
TaggedCachedGauge(long, TimeUnit) - Constructor for class com.github.sps.metrics.TaggedCachedGauge
 
TaggedCounter - Class in com.github.sps.metrics
 
TaggedCounter(Map<String, String>) - Constructor for class com.github.sps.metrics.TaggedCounter
 
taggedCounter(String, Map<String, String>) - Method in class com.github.sps.metrics.TaggedMetricRegistry
 
TaggedDerivativeGauge<F,T> - Class in com.github.sps.metrics
 
TaggedDerivativeGauge(Gauge<F>) - Constructor for class com.github.sps.metrics.TaggedDerivativeGauge
 
TaggedGauge<T> - Interface in com.github.sps.metrics
 
TaggedHistogram - Class in com.github.sps.metrics
 
TaggedHistogram(Reservoir, Map<String, String>) - Constructor for class com.github.sps.metrics.TaggedHistogram
 
taggedHistogram(Reservoir, String, Map<String, String>) - Method in class com.github.sps.metrics.TaggedMetricRegistry
 
TaggedJmxAttributeGauge - Class in com.github.sps.metrics
 
TaggedJmxAttributeGauge(ObjectName, String, Map<String, String>) - Constructor for class com.github.sps.metrics.TaggedJmxAttributeGauge
 
TaggedJmxAttributeGauge(MBeanServer, ObjectName, String, Map<String, String>) - Constructor for class com.github.sps.metrics.TaggedJmxAttributeGauge
 
TaggedMeter - Class in com.github.sps.metrics
 
TaggedMeter(Map<String, String>) - Constructor for class com.github.sps.metrics.TaggedMeter
 
taggedMeter(String, Map<String, String>) - Method in class com.github.sps.metrics.TaggedMetricRegistry
 
TaggedMetric - Interface in com.github.sps.metrics
 
TaggedMetricRegistry - Class in com.github.sps.metrics
 
TaggedMetricRegistry() - Constructor for class com.github.sps.metrics.TaggedMetricRegistry
 
TaggedRatioGauge - Class in com.github.sps.metrics
 
TaggedRatioGauge() - Constructor for class com.github.sps.metrics.TaggedRatioGauge
 
taggedTimer(String, Map<String, String>) - Method in class com.github.sps.metrics.TaggedMetricRegistry
 
TaggedTimer - Class in com.github.sps.metrics
 
TaggedTimer(Map<String, String>) - Constructor for class com.github.sps.metrics.TaggedTimer
 
toString() - Method in class com.github.sps.metrics.opentsdb.OpenTsdbMetric
Returns a JSON string version of this metric compatible with the HTTP API reporter.
toTelnetPutString() - Method in class com.github.sps.metrics.opentsdb.OpenTsdbMetric
Returns a put string version of this metric compatible with the telnet-style reporter.

W

withBatchSize(int) - Method in class com.github.sps.metrics.OpenTsdbReporter.Builder
specify number of metrics send in each request
withClock(Clock) - Method in class com.github.sps.metrics.OpenTsdbReporter.Builder
Use the given Clock instance for the time.
withConnectTimeout(Integer) - Method in class com.github.sps.metrics.opentsdb.OpenTsdb.Builder
 
withCounterGaugeDecorations(boolean) - Method in class com.github.sps.metrics.OpenTsdbReporter.Builder
Enable decorating Counter metric names with .count and Gauge metric names with .value.
withGzipEnabled(boolean) - Method in class com.github.sps.metrics.opentsdb.OpenTsdb.Builder
 
withReadTimeout(Integer) - Method in class com.github.sps.metrics.opentsdb.OpenTsdb.Builder
 
withTags(Map<String, String>) - Method in class com.github.sps.metrics.opentsdb.OpenTsdbMetric.Builder
 
withTags(Map<String, String>) - Method in class com.github.sps.metrics.OpenTsdbReporter.Builder
Append tags to all reported metrics
withTimestamp(Long) - Method in class com.github.sps.metrics.opentsdb.OpenTsdbMetric.Builder
 
withValue(Object) - Method in class com.github.sps.metrics.opentsdb.OpenTsdbMetric.Builder
 
write(Set<OpenTsdbMetric>, Writer) - Method in class com.github.sps.metrics.opentsdb.OpenTsdbTelnet
 
B C D E F G H N O P R S T W 
Skip navigation links

Copyright © 2016. All rights reserved.