Index

A B C D E F G H L M R S T U V 
All Classes and Interfaces|All Packages|Constant Field Values

A

AbstractTaggedMetricRegistry - Class in com.palantir.tritium.metrics.registry
 
AbstractTaggedMetricRegistry(Supplier) - Constructor for class com.palantir.tritium.metrics.registry.AbstractTaggedMetricRegistry
 
addMetrics(String, String, TaggedMetricSet) - Method in interface com.palantir.tritium.metrics.registry.TaggedMetricRegistry
Adds a set of metrics to this TaggedMetricRegistry's metric set, which are to be uniquely identified by the tags provided.
addMetrics(String, String, TaggedMetricSet) - Method in class com.palantir.tritium.metrics.registry.AbstractTaggedMetricRegistry
 
alpha(double) - Method in class com.palantir.tritium.metrics.registry.LockFreeExponentiallyDecayingReservoir.Builder
Deprecated.
Alpha is the exponential decay factor.
alpha(double) - Method in class com.palantir.tritium.metrics.registry.LockFreeExponentiallyDecayingReservoirWithExemplars.Builder
Alpha is the exponential decay factor.

B

build() - Method in class com.palantir.tritium.metrics.registry.LockFreeExponentiallyDecayingReservoir.Builder
Deprecated.
 
build() - Method in class com.palantir.tritium.metrics.registry.LockFreeExponentiallyDecayingReservoirWithExemplars.Builder
 
builder() - Static method in class com.palantir.tritium.metrics.registry.LockFreeExponentiallyDecayingReservoir
Deprecated.
 
builder() - Static method in class com.palantir.tritium.metrics.registry.LockFreeExponentiallyDecayingReservoirWithExemplars
 
builder() - Static method in interface com.palantir.tritium.metrics.registry.MetricName
 
Builder() - Constructor for class com.palantir.tritium.metrics.registry.MetricName.Builder
 
builderWithExpectedTags(int) - Static method in interface com.palantir.tritium.metrics.registry.MetricName
Returns an optimized builder for callers that know the number of tags upfront.

C

clock(Clock) - Method in class com.palantir.tritium.metrics.registry.LockFreeExponentiallyDecayingReservoir.Builder
Deprecated.
Clock instance used for decay.
clock(Clock) - Method in class com.palantir.tritium.metrics.registry.LockFreeExponentiallyDecayingReservoirWithExemplars.Builder
Clock instance used for decay.
collect() - Method in interface com.palantir.tritium.metrics.registry.ExemplarMetadataProvider
 
com.palantir.tritium.metrics.registry - package com.palantir.tritium.metrics.registry
 
com.palantir.tritium.metrics.tags - package com.palantir.tritium.metrics.tags
 
counter(MetricName) - Method in class com.palantir.tritium.metrics.registry.AbstractTaggedMetricRegistry
 
counter(MetricName) - Method in interface com.palantir.tritium.metrics.registry.TaggedMetricRegistry
Returns existing or new counter metric for the specified metric name.
counter(MetricName, Supplier) - Method in class com.palantir.tritium.metrics.registry.AbstractTaggedMetricRegistry
 
counter(MetricName, Supplier) - Method in interface com.palantir.tritium.metrics.registry.TaggedMetricRegistry
 
counterSupplier() - Method in class com.palantir.tritium.metrics.registry.AbstractTaggedMetricRegistry
Supplies counter instances for this registry.
createReservoir() - Method in class com.palantir.tritium.metrics.registry.AbstractTaggedMetricRegistry
Supplies reservoir instances for this registry.

D

DefaultTaggedMetricRegistry - Class in com.palantir.tritium.metrics.registry
 
DefaultTaggedMetricRegistry() - Constructor for class com.palantir.tritium.metrics.registry.DefaultTaggedMetricRegistry
 
DropwizardTaggedMetricSet - Class in com.palantir.tritium.metrics.registry
 
DropwizardTaggedMetricSet(MetricSet) - Constructor for class com.palantir.tritium.metrics.registry.DropwizardTaggedMetricSet
 

E

ENDPOINT - Static variable in class com.palantir.tritium.metrics.tags.MetricTags
 
ExemplarMetadataProvider<T> - Interface in com.palantir.tritium.metrics.registry
 
exemplarProvider(ExemplarMetadataProvider) - Method in class com.palantir.tritium.metrics.registry.LockFreeExponentiallyDecayingReservoirWithExemplars.Builder
ExemplarMetadataProvider to provide exemplar metadata for each sample.
ExemplarsCapture - Interface in com.palantir.tritium.metrics.registry
 

F

forEachMetric(BiConsumer) - Method in class com.palantir.tritium.metrics.registry.AbstractTaggedMetricRegistry
 
forEachMetric(BiConsumer) - Method in class com.palantir.tritium.metrics.registry.DropwizardTaggedMetricSet
 
forEachMetric(BiConsumer) - Method in interface com.palantir.tritium.metrics.registry.TaggedMetricSet
 

G

gauge(MetricName) - Method in class com.palantir.tritium.metrics.registry.AbstractTaggedMetricRegistry
 
gauge(MetricName) - Method in interface com.palantir.tritium.metrics.registry.TaggedMetricRegistry
Returns existing gauge metric for the specified metric name or empty if none has been registered.
gauge(MetricName, Gauge) - Method in class com.palantir.tritium.metrics.registry.AbstractTaggedMetricRegistry
 
gauge(MetricName, Gauge) - Method in interface com.palantir.tritium.metrics.registry.TaggedMetricRegistry
Returns existing or new gauge metric for the specified metric name.
getDefault() - Static method in class com.palantir.tritium.metrics.registry.DefaultTaggedMetricRegistry
Deprecated.
use SharedTaggedMetricRegistries#getSingleton
getMetrics() - Method in class com.palantir.tritium.metrics.registry.AbstractTaggedMetricRegistry
 
getMetrics() - Method in class com.palantir.tritium.metrics.registry.DropwizardTaggedMetricSet
 
getMetrics() - Method in interface com.palantir.tritium.metrics.registry.TaggedMetricSet
Returns a map of metrics.
getOrAdd(MetricName, Class, Supplier) - Method in class com.palantir.tritium.metrics.registry.AbstractTaggedMetricRegistry
 
getSamples(ExemplarMetadataProvider) - Method in interface com.palantir.tritium.metrics.registry.ExemplarsCapture
 
getSingleton() - Static method in class com.palantir.tritium.metrics.registry.SharedTaggedMetricRegistries
Deprecated.
avoid using the global singleton
getSnapshot() - Method in class com.palantir.tritium.metrics.registry.LockFreeExponentiallyDecayingReservoir
Deprecated.
 
getSnapshot() - Method in class com.palantir.tritium.metrics.registry.LockFreeExponentiallyDecayingReservoirWithExemplars
 

H

histogram(MetricName) - Method in class com.palantir.tritium.metrics.registry.AbstractTaggedMetricRegistry
 
histogram(MetricName) - Method in interface com.palantir.tritium.metrics.registry.TaggedMetricRegistry
Returns existing or new histogram metric for the specified metric name.
histogram(MetricName, Supplier) - Method in class com.palantir.tritium.metrics.registry.AbstractTaggedMetricRegistry
 
histogram(MetricName, Supplier) - Method in interface com.palantir.tritium.metrics.registry.TaggedMetricRegistry
 
histogramSupplier() - Method in class com.palantir.tritium.metrics.registry.AbstractTaggedMetricRegistry
Supplies histogram instances for this registry.

L

LockFreeExponentiallyDecayingReservoir - Class in com.palantir.tritium.metrics.registry
Deprecated.
prefer upstream LockFreeExponentiallyDecayingReservoir.
LockFreeExponentiallyDecayingReservoir.Builder - Class in com.palantir.tritium.metrics.registry
Deprecated.
By default this uses a size of 1028 elements, which offers a 99.9% confidence level with a 5% margin of error assuming a normal distribution, and an alpha factor of 0.015, which heavily biases the reservoir to the past 5 minutes of measurements.
LockFreeExponentiallyDecayingReservoirWithExemplars - Class in com.palantir.tritium.metrics.registry
LockFreeExponentiallyDecayingReservoirWithExemplars is based on the codahale LockFreeExponentiallyDecayingReservoir.java and adds support for capturing exemplar metadata, maintaining basically every other aspect of its original design.
LockFreeExponentiallyDecayingReservoirWithExemplars.Builder - Class in com.palantir.tritium.metrics.registry
By default this uses a size of 1028 elements, which offers a 99.9% confidence level with a 5% margin of error assuming a normal distribution, and an alpha factor of 0.015, which heavily biases the reservoir to the past 5 minutes of measurements.
LongExemplar<T> - Interface in com.palantir.tritium.metrics.registry
 

M

metadata() - Method in interface com.palantir.tritium.metrics.registry.LongExemplar
 
meter(MetricName) - Method in class com.palantir.tritium.metrics.registry.AbstractTaggedMetricRegistry
 
meter(MetricName) - Method in interface com.palantir.tritium.metrics.registry.TaggedMetricRegistry
Returns existing or new meter metric for the specified metric name.
meter(MetricName, Supplier) - Method in class com.palantir.tritium.metrics.registry.AbstractTaggedMetricRegistry
 
meter(MetricName, Supplier) - Method in interface com.palantir.tritium.metrics.registry.TaggedMetricRegistry
 
meterSupplier() - Method in class com.palantir.tritium.metrics.registry.AbstractTaggedMetricRegistry
Supplies meter instances for this registry.
MetricName - Interface in com.palantir.tritium.metrics.registry
 
MetricName.Builder - Class in com.palantir.tritium.metrics.registry
 
MetricName.PreSizedBuilder - Class in com.palantir.tritium.metrics.registry
 
MetricTags - Class in com.palantir.tritium.metrics.tags
The standard set of metric tags as well as constant tag values.

R

registerWithReplacement(MetricName, Gauge) - Method in class com.palantir.tritium.metrics.registry.AbstractTaggedMetricRegistry
 
registerWithReplacement(MetricName, Gauge) - Method in interface com.palantir.tritium.metrics.registry.TaggedMetricRegistry
Registers and returns the specified gauge, replacing any existing gauge with the specified metric name.
remove(MetricName) - Method in class com.palantir.tritium.metrics.registry.AbstractTaggedMetricRegistry
 
remove(MetricName) - Method in interface com.palantir.tritium.metrics.registry.TaggedMetricRegistry
Removes the tagged metric with the specified metric name.
removeMetrics(String, String) - Method in interface com.palantir.tritium.metrics.registry.TaggedMetricRegistry
Removes a TaggedMetricsSet added via addMetrics from this metrics set.
removeMetrics(String, String, TaggedMetricSet) - Method in interface com.palantir.tritium.metrics.registry.TaggedMetricRegistry
Removes a TaggedMetricsSet added via addMetrics from this metrics set, if currently registered to this metric set.
removeMetrics(String, String) - Method in class com.palantir.tritium.metrics.registry.AbstractTaggedMetricRegistry
 
removeMetrics(String, String, TaggedMetricSet) - Method in class com.palantir.tritium.metrics.registry.AbstractTaggedMetricRegistry
 
rescaleThreshold(Duration) - Method in class com.palantir.tritium.metrics.registry.LockFreeExponentiallyDecayingReservoir.Builder
Deprecated.
Interval at which this reservoir is rescaled.
rescaleThreshold(Duration) - Method in class com.palantir.tritium.metrics.registry.LockFreeExponentiallyDecayingReservoirWithExemplars.Builder
Interval at which this reservoir is rescaled.
RESPONSE_1XX - Static variable in class com.palantir.tritium.metrics.tags.MetricTags
 
RESPONSE_2XX - Static variable in class com.palantir.tritium.metrics.tags.MetricTags
 
RESPONSE_3XX - Static variable in class com.palantir.tritium.metrics.tags.MetricTags
 
RESPONSE_4XX - Static variable in class com.palantir.tritium.metrics.tags.MetricTags
 
RESPONSE_5XX - Static variable in class com.palantir.tritium.metrics.tags.MetricTags
 
RESPONSE_FAMILY - Static variable in class com.palantir.tritium.metrics.tags.MetricTags
Tags for response code families.
RESPONSE_OTHER - Static variable in class com.palantir.tritium.metrics.tags.MetricTags
 

S

safeName() - Method in interface com.palantir.tritium.metrics.registry.MetricName
General/abstract measure (e.g.
safeTags() - Method in interface com.palantir.tritium.metrics.registry.MetricName
Metadata/coordinates for where a particular measure came from.
SERVICE_NAME - Static variable in class com.palantir.tritium.metrics.tags.MetricTags
 
SharedTaggedMetricRegistries - Class in com.palantir.tritium.metrics.registry
Analogous to codahale's SharedMetricRegistries.
size() - Method in class com.palantir.tritium.metrics.registry.LockFreeExponentiallyDecayingReservoir
Deprecated.
 
size() - Method in class com.palantir.tritium.metrics.registry.LockFreeExponentiallyDecayingReservoirWithExemplars
 
size(int) - Method in class com.palantir.tritium.metrics.registry.LockFreeExponentiallyDecayingReservoir.Builder
Deprecated.
Maximum number of samples to keep in the reservoir.
size(int) - Method in class com.palantir.tritium.metrics.registry.LockFreeExponentiallyDecayingReservoirWithExemplars.Builder
Maximum number of samples to keep in the reservoir.
SlidingWindowTaggedMetricRegistry - Class in com.palantir.tritium.metrics.registry
 
SlidingWindowTaggedMetricRegistry(int, TimeUnit) - Constructor for class com.palantir.tritium.metrics.registry.SlidingWindowTaggedMetricRegistry
 

T

TaggedMetricRegistry - Interface in com.palantir.tritium.metrics.registry
Similar to MetricRegistry but allows tagging of Metrics.
TaggedMetricSet - Interface in com.palantir.tritium.metrics.registry
 
timer(MetricName) - Method in class com.palantir.tritium.metrics.registry.AbstractTaggedMetricRegistry
 
timer(MetricName) - Method in interface com.palantir.tritium.metrics.registry.TaggedMetricRegistry
Returns existing or new timer metric for the specified metric name.
timer(MetricName, Supplier) - Method in class com.palantir.tritium.metrics.registry.AbstractTaggedMetricRegistry
 
timer(MetricName, Supplier) - Method in interface com.palantir.tritium.metrics.registry.TaggedMetricRegistry
 
timerSupplier() - Method in class com.palantir.tritium.metrics.registry.AbstractTaggedMetricRegistry
Supplies timer instances for this registry.

U

update(long) - Method in class com.palantir.tritium.metrics.registry.LockFreeExponentiallyDecayingReservoir
Deprecated.
 
update(long) - Method in class com.palantir.tritium.metrics.registry.LockFreeExponentiallyDecayingReservoirWithExemplars
 
USER_AGENT - Static variable in class com.palantir.tritium.metrics.tags.MetricTags
 

V

value() - Method in interface com.palantir.tritium.metrics.registry.LongExemplar
 
A B C D E F G H L M R S T U V 
All Classes and Interfaces|All Packages|Constant Field Values