A B C D E F G H I J K L M N O P R S T U V W

A

AbstractContextualMonitor<T,M extends Monitor<T>> - Class in com.netflix.servo.monitor
Base class used to simplify creation of contextual monitors.
AbstractContextualMonitor(MonitorConfig, TaggingContext, Function<MonitorConfig, M>) - Constructor for class com.netflix.servo.monitor.AbstractContextualMonitor
Create a new instance of the monitor.
AbstractMonitor<T> - Class in com.netflix.servo.monitor
Base type to simplify implementing monitors.
AbstractMonitor(MonitorConfig) - Constructor for class com.netflix.servo.monitor.AbstractMonitor
Create a new instance with the specified configuration.
addPoller(PollRunnable, long, TimeUnit) - Method in class com.netflix.servo.publish.PollScheduler
Add a tasks to execute at a fixed rate based on the provided delay.
asMap() - Method in class com.netflix.servo.tag.BasicTagList
Returns a map containing a copy of the tags in this list.
asMap() - Method in class com.netflix.servo.tag.SortedTagList
Returns a map containing a copy of the tags in this list.
asMap() - Method in interface com.netflix.servo.tag.TagList
Returns a map containing a copy of the tags in this list.
AsyncMetricObserver - Class in com.netflix.servo.publish
Wraps another observer and asynchronously updates it in the background.
AsyncMetricObserver(String, MetricObserver, int, long) - Constructor for class com.netflix.servo.publish.AsyncMetricObserver
Creates a new instance.
AsyncMetricObserver(String, MetricObserver) - Constructor for class com.netflix.servo.publish.AsyncMetricObserver
Creates a new instance with an unbounded queue and no expiration time.
AsyncMetricObserver(String, MetricObserver, int) - Constructor for class com.netflix.servo.publish.AsyncMetricObserver
Creates a new instance with no expiration time.

B

baseConfig - Variable in class com.netflix.servo.monitor.AbstractContextualMonitor
Base configuration shared across all contexts.
BaseMetricObserver - Class in com.netflix.servo.publish
Helper class for metric observers that keeps track of the number of calls and number of failures.
BaseMetricObserver(String) - Constructor for class com.netflix.servo.publish.BaseMetricObserver
Creates a new instance with a given name.
BaseMetricPoller - Class in com.netflix.servo.publish
Base class for simple pollers that do not benefit from filtering in advance.
BaseMetricPoller() - Constructor for class com.netflix.servo.publish.BaseMetricPoller
 
BasicCompositeMonitor - Class in com.netflix.servo.monitor
Simple composite monitor type with a static list of sub-monitors.
BasicCompositeMonitor(MonitorConfig, List<Monitor<?>>) - Constructor for class com.netflix.servo.monitor.BasicCompositeMonitor
Create a new composite.
BasicCounter - Class in com.netflix.servo.monitor
A simple counter implementation backed by an AtomicLong.
BasicCounter(MonitorConfig) - Constructor for class com.netflix.servo.monitor.BasicCounter
Creates a new instance of the counter.
BasicExample - Class in com.netflix.servo.examples
Simple Sample Code for getting a monitor into JMX.
BasicExample() - Constructor for class com.netflix.servo.examples.BasicExample
 
BasicExample(Collection<Tag>) - Constructor for class com.netflix.servo.examples.BasicExample
 
BasicGauge<T extends java.lang.Number> - Class in com.netflix.servo.monitor
A gauge implementation that invokes a specified callable to get the current value.
BasicGauge(MonitorConfig, Callable<T>) - Constructor for class com.netflix.servo.monitor.BasicGauge
Creates a new instance of the gauge.
BasicInformational - Class in com.netflix.servo.monitor
A simple informational implementation that maintains a string value.
BasicInformational(MonitorConfig) - Constructor for class com.netflix.servo.monitor.BasicInformational
Creates a new instance of the counter.
BasicMetricFilter - Class in com.netflix.servo.publish
Filter that always returns true or false.
BasicMetricFilter(boolean) - Constructor for class com.netflix.servo.publish.BasicMetricFilter
Creates a new instance with a boolean indicating whether it should always match or always fail.
BasicMonitorRegistry - Class in com.netflix.servo
Simple monitor registry backed by a Set.
BasicMonitorRegistry() - Constructor for class com.netflix.servo.BasicMonitorRegistry
Creates a new instance.
BasicStopwatch - Class in com.netflix.servo.monitor
This class does not enforce starting or stopping once and only once without a reset.
BasicStopwatch() - Constructor for class com.netflix.servo.monitor.BasicStopwatch
Create a new stopwatch with no associated timer.
BasicStopwatch(Timer) - Constructor for class com.netflix.servo.monitor.BasicStopwatch
Create a new stopwatch with no associated timer.
BasicTag - Class in com.netflix.servo.tag
Immutable tag.
BasicTag(String, String) - Constructor for class com.netflix.servo.tag.BasicTag
Creates a new instance with the specified key and value.
BasicTagList - Class in com.netflix.servo.tag
Immutable tag list.
BasicTagList(Iterable<Tag>) - Constructor for class com.netflix.servo.tag.BasicTagList
Creates a new instance with a fixed set of tags.
BasicTimer - Class in com.netflix.servo.monitor
A simple timer implementation providing the total time, count, min, and max for the times that have been recorded.
BasicTimer(MonitorConfig) - Constructor for class com.netflix.servo.monitor.BasicTimer
Creates a new instance of the timer with a unit of milliseconds.
BasicTimer(MonitorConfig, TimeUnit) - Constructor for class com.netflix.servo.monitor.BasicTimer
Creates a new instance of the timer.
build() - Method in class com.netflix.servo.monitor.MonitorConfig.Builder
 
build() - Method in class com.netflix.servo.stats.StatsConfig.Builder
 
build() - Method in class com.netflix.servo.tag.SortedTagList.Builder
 
builder(String) - Static method in class com.netflix.servo.monitor.MonitorConfig
 
builder() - Static method in class com.netflix.servo.tag.SortedTagList
 

C

call() - Method in class com.netflix.servo.publish.PollCallable
CLASS_TAG - Static variable in class com.netflix.servo.monitor.TimedInterface
 
com.netflix.servo - package com.netflix.servo
Primary interfaces for metrics.
com.netflix.servo.annotations - package com.netflix.servo.annotations
Annotations to easily expose metrics from a class.
com.netflix.servo.examples - package com.netflix.servo.examples
Examples of how to use servo.
com.netflix.servo.jmx - package com.netflix.servo.jmx
Monitor registry and helper classes to expose monitored attributes to JMX.
com.netflix.servo.monitor - package com.netflix.servo.monitor
Subinterfaces and implementations for Monitor.
com.netflix.servo.publish - package com.netflix.servo.publish
Interfaces for collecting metrics and publishing them to observers.
com.netflix.servo.stats - package com.netflix.servo.stats
 
com.netflix.servo.tag - package com.netflix.servo.tag
Code related to Tagging objects with metadata.
com.netflix.servo.util - package com.netflix.servo.util
 
compare(Tag, Tag) - Method in class com.netflix.servo.tag.TagComparator
compare(ThreadCpuStats.CpuUsage, ThreadCpuStats.CpuUsage) - Method in enum com.netflix.servo.util.ThreadCpuStats.CpuUsageComparator
CompositeMetricPoller - Class in com.netflix.servo.publish
Combines results from a list of metric pollers.
CompositeMetricPoller(Map<String, MetricPoller>, ExecutorService, long) - Constructor for class com.netflix.servo.publish.CompositeMetricPoller
Creates a new instance for a set of pollers.
CompositeMonitor<T> - Interface in com.netflix.servo.monitor
Used as a mixin for monitors that are composed of a number of sub-monitors.
computeStats() - Method in class com.netflix.servo.stats.StatsBuffer
Compute stats for the current set of values.
concat(TagList, TagList) - Static method in class com.netflix.servo.tag.BasicTagList
Returns a tag list containing the union of t1 and t2.
concat(TagList, Tag...) - Static method in class com.netflix.servo.tag.BasicTagList
Returns a tag list containing the union of t1 and t2.
config - Variable in class com.netflix.servo.monitor.AbstractMonitor
 
containsKey(String) - Method in class com.netflix.servo.tag.BasicTagList
Returns true if this list has a tag with the given key.
containsKey(String) - Method in class com.netflix.servo.tag.SortedTagList
Returns true if this list has a tag with the given key.
containsKey(String) - Method in interface com.netflix.servo.tag.TagList
Returns true if this list has a tag with the given key.
context - Variable in class com.netflix.servo.monitor.AbstractContextualMonitor
Context to query when accessing a monitor.
ContextualCounter - Class in com.netflix.servo.monitor
Composite that maintains separate simple counters for each distinct set of tags returned by the tagging context.
ContextualCounter(MonitorConfig, TaggingContext, Function<MonitorConfig, Counter>) - Constructor for class com.netflix.servo.monitor.ContextualCounter
Create a new instance of the counter.
ContextualTimer - Class in com.netflix.servo.monitor
Composite that maintains separate simple timers for each distinct set of tags returned by the tagging context.
ContextualTimer(MonitorConfig, TaggingContext, Function<MonitorConfig, Timer>) - Constructor for class com.netflix.servo.monitor.ContextualTimer
Create a new instance of the timer.
copy(TagList) - Method in class com.netflix.servo.tag.BasicTagList
Returns a new tag list with additional tags from tags.
copy(String, String) - Method in class com.netflix.servo.tag.BasicTagList
Returns a new tag list with an additional tag.
copyOf(Tag...) - Static method in class com.netflix.servo.tag.BasicTagList
Deprecated. Use BasicTagList.of(Tag...)
copyOf(String...) - Static method in class com.netflix.servo.tag.BasicTagList
Deprecated. Use BasicTagList.of(String...) with separate key, values instead.
copyOf(Iterable<String>) - Static method in class com.netflix.servo.tag.BasicTagList
Returns a tag list that has a copy of tags.
copyOf(Map<String, String>) - Static method in class com.netflix.servo.tag.BasicTagList
Returns a tag list that has a copy of tags.
Counter - Interface in com.netflix.servo.monitor
Monitor type for tracking how often some event is occurring.
CounterToRateMetricTransform - Class in com.netflix.servo.publish
Converts counter metrics into a rate per second.
CounterToRateMetricTransform(MetricObserver, long, TimeUnit) - Constructor for class com.netflix.servo.publish.CounterToRateMetricTransform
Creates a new instance with the specified heartbeat interval.
CURRENT_TIME - Static variable in class com.netflix.servo.util.ThreadCpuStats
 

D

DataSourceLevel - Enum in com.netflix.servo.annotations
Indicates a level for the monitor.
DataSourceType - Enum in com.netflix.servo.annotations
Indicates the type of value that is annotated to determine how it will be measured.
DEFAULT_PORT - Static variable in class com.netflix.servo.examples.EchoServerExample
 
DefaultMonitorRegistry - Class in com.netflix.servo
Default registry that delegates all actions to a class specified by the com.netflix.servo.DefaultMonitorRegistry.registryClass property.
DefaultPublishingPolicy - Class in com.netflix.servo.monitor
The default publishing policy.
DoubleGauge - Class in com.netflix.servo.monitor
A Gauge that reports a double value.
DoubleGauge(MonitorConfig) - Constructor for class com.netflix.servo.monitor.DoubleGauge
Create a new instance with the specified configuration
DynamicCounter - Class in com.netflix.servo.monitor
Utility class that dynamically creates counters based on an arbitrary (name, tagList), or MonitorConfig Counters are automatically expired after 15 minutes of inactivity.
DynamicTimer - Class in com.netflix.servo.monitor
Utility class that dynamically creates BasicTimers based on an arbitrary (name, tagList), or MonitorConfig Timers are automatically expired after 15 minutes of inactivity.

E

EchoServerExample - Class in com.netflix.servo.examples
An really basic echo server that uses the utility methods from DynamicCounter
EchoServerExample(int) - Constructor for class com.netflix.servo.examples.EchoServerExample
 
EchoServerExample.AcceptTask - Class in com.netflix.servo.examples
 
EchoServerExample.AcceptTask(int) - Constructor for class com.netflix.servo.examples.EchoServerExample.AcceptTask
 
EchoServerExample.ClientTask - Class in com.netflix.servo.examples
 
EchoServerExample.ClientTask(TagList, Socket) - Constructor for class com.netflix.servo.examples.EchoServerExample.ClientTask
 
EMPTY - Static variable in class com.netflix.servo.tag.BasicTagList
An empty tag list.
EMPTY - Static variable in class com.netflix.servo.tag.SortedTagList
 
equals(Object) - Method in class com.netflix.servo.Metric
equals(Object) - Method in class com.netflix.servo.monitor.BasicCompositeMonitor
equals(Object) - Method in class com.netflix.servo.monitor.BasicCounter
equals(Object) - Method in class com.netflix.servo.monitor.BasicGauge
equals(Object) - Method in class com.netflix.servo.monitor.BasicInformational
equals(Object) - Method in class com.netflix.servo.monitor.BasicTimer
equals(Object) - Method in class com.netflix.servo.monitor.DoubleGauge
equals(Object) - Method in class com.netflix.servo.monitor.LongGauge
equals(Object) - Method in class com.netflix.servo.monitor.MaxGauge
equals(Object) - Method in class com.netflix.servo.monitor.MinGauge
equals(Object) - Method in class com.netflix.servo.monitor.MonitorConfig
equals(Object) - Method in class com.netflix.servo.monitor.ResettableCounter
equals(Object) - Method in class com.netflix.servo.monitor.StatsTimer
equals(Object) - Method in class com.netflix.servo.stats.StatsConfig
equals(Object) - Method in class com.netflix.servo.tag.BasicTag
equals(Object) - Method in class com.netflix.servo.tag.BasicTagList
equals(Object) - Method in class com.netflix.servo.tag.SortedTagList

F

FIFTEEN_MIN - Static variable in class com.netflix.servo.util.ThreadCpuStats
 
FileMetricObserver - Class in com.netflix.servo.publish
Writes observations to a file.
FileMetricObserver(String, File) - Constructor for class com.netflix.servo.publish.FileMetricObserver
Creates a new instance that stores files in dir with a prefix of name and a suffix of a timestamp in the format yyyy_dd_MM_HH_mm_ss_SSS.
FileMetricObserver(String, String, File) - Constructor for class com.netflix.servo.publish.FileMetricObserver
Creates a new instance that stores files in dir with a name that is created using namePattern.
FIVE_MIN - Static variable in class com.netflix.servo.util.ThreadCpuStats
 

G

Gauge<T extends java.lang.Number> - Interface in com.netflix.servo.monitor
Monitor type that provides the current value, e.g., the percentage of disk space used.
getAndResetValue() - Method in class com.netflix.servo.monitor.MaxGauge
getAndResetValue() - Method in class com.netflix.servo.monitor.MinGauge
getAndResetValue() - Method in class com.netflix.servo.monitor.ResettableCounter
getAndResetValue() - Method in interface com.netflix.servo.monitor.ResettableMonitor
 
getConfig() - Method in class com.netflix.servo.Metric
Returns the config settings associated with the metric.
getConfig() - Method in class com.netflix.servo.monitor.AbstractContextualMonitor
Configuration used to identify a monitor and provide metadata used in aggregations.
getConfig() - Method in class com.netflix.servo.monitor.AbstractMonitor
Configuration used to identify a monitor and provide metadata used in aggregations.
getConfig() - Method in class com.netflix.servo.monitor.BasicCompositeMonitor
Configuration used to identify a monitor and provide metadata used in aggregations.
getConfig() - Method in class com.netflix.servo.monitor.DoubleGauge
Configuration used to identify a monitor and provide metadata used in aggregations.
getConfig() - Method in class com.netflix.servo.monitor.DynamicCounter
Configuration used to identify a monitor and provide metadata used in aggregations.
getConfig() - Method in class com.netflix.servo.monitor.DynamicTimer
Configuration used to identify a monitor and provide metadata used in aggregations.
getConfig() - Method in class com.netflix.servo.monitor.LongGauge
Configuration used to identify a monitor and provide metadata used in aggregations.
getConfig() - Method in interface com.netflix.servo.monitor.Monitor
Configuration used to identify a monitor and provide metadata used in aggregations.
getConnection() - Method in interface com.netflix.servo.publish.JmxConnector
Returns a connection to an mbean server that can be used to poll metrics from JMX.
getConnection() - Method in class com.netflix.servo.publish.LocalJmxConnector
Returns a connection to an mbean server that can be used to poll metrics from JMX.
getCount() - Method in class com.netflix.servo.monitor.BasicTimer
Get the total number of updates.
getCount() - Method in class com.netflix.servo.stats.StatsBuffer
Get the number of entries recorded.
getDuration(TimeUnit) - Method in class com.netflix.servo.monitor.BasicStopwatch
Returns the duration in the specified time unit.
getDuration() - Method in class com.netflix.servo.monitor.BasicStopwatch
Returns the duration in nanoseconds.
getDuration(TimeUnit) - Method in interface com.netflix.servo.monitor.Stopwatch
Returns the duration in the specified time unit.
getDuration() - Method in interface com.netflix.servo.monitor.Stopwatch
Returns the duration in nanoseconds.
getFailedUpdateCount() - Method in class com.netflix.servo.publish.BaseMetricObserver
Returns the number of times update failed with an exception.
getFifteenMinute() - Method in class com.netflix.servo.util.ThreadCpuStats.CpuUsage
Returns the usage for the last fifteen minutes.
getFiveMinute() - Method in class com.netflix.servo.util.ThreadCpuStats.CpuUsage
Returns the usage for the last five minutes.
getFrequencyMillis() - Method in class com.netflix.servo.stats.StatsConfig
Get the frequency at which we should update all stats.
getInstance() - Static method in class com.netflix.servo.DefaultMonitorRegistry
Returns the instance of this registry.
getInstance() - Static method in class com.netflix.servo.monitor.DefaultPublishingPolicy
 
getInstance() - Static method in class com.netflix.servo.publish.PollScheduler
Return the instance of this scheduler.
getInstance() - Static method in class com.netflix.servo.tag.ThreadLocalTaggingContext
Get the instance.
getInstance() - Static method in class com.netflix.servo.util.ThreadCpuStats
Return the singleton instance.
getKey() - Method in enum com.netflix.servo.annotations.DataSourceLevel
Returns the key corresponding to this tag.
getKey() - Method in enum com.netflix.servo.annotations.DataSourceType
Returns the key corresponding to this tag.
getKey() - Method in class com.netflix.servo.tag.BasicTag
Returns the key corresponding to this tag.
getKey() - Method in enum com.netflix.servo.tag.InjectableTag
 
getKey() - Method in interface com.netflix.servo.tag.Tag
Returns the key corresponding to this tag.
getKeyName() - Method in enum com.netflix.servo.tag.StandardTagKeys
 
getLastUpdateTime() - Method in class com.netflix.servo.util.ThreadCpuStats.CpuUsage
Last time the stats for this object were updated.
getMax() - Method in class com.netflix.servo.monitor.BasicTimer
Get the max value since the last reset.
getMax() - Method in class com.netflix.servo.stats.StatsBuffer
Get the max of the values currently in our buffer.
getMean() - Method in class com.netflix.servo.stats.StatsBuffer
Get the average of the values recorded.
getMin() - Method in class com.netflix.servo.monitor.BasicTimer
Get the min value since the last reset.
getMin() - Method in class com.netflix.servo.stats.StatsBuffer
Get the minimum of the values currently in our buffer.
getMonitorForCurrentContext() - Method in class com.netflix.servo.monitor.AbstractContextualMonitor
Returns a monitor instance for the current context.
getMonitors() - Method in class com.netflix.servo.monitor.AbstractContextualMonitor
getMonitors() - Method in class com.netflix.servo.monitor.BasicCompositeMonitor
getMonitors() - Method in class com.netflix.servo.monitor.BasicTimer
getMonitors() - Method in interface com.netflix.servo.monitor.CompositeMonitor
 
getMonitors() - Method in class com.netflix.servo.monitor.DynamicCounter
getMonitors() - Method in class com.netflix.servo.monitor.DynamicTimer
getMonitors() - Method in class com.netflix.servo.monitor.StatsTimer
getName() - Method in class com.netflix.servo.monitor.MonitorConfig
Returns the name of the metric.
getName() - Method in class com.netflix.servo.publish.BaseMetricObserver
Name associated with an observer.
getName() - Method in class com.netflix.servo.publish.CounterToRateMetricTransform
Name associated with an observer.
getName() - Method in interface com.netflix.servo.publish.MetricObserver
Name associated with an observer.
getName() - Method in class com.netflix.servo.util.ThreadCpuStats.CpuUsage
Name of the thread.
getNumberValue() - Method in class com.netflix.servo.Metric
Returns the value of the metric as a number.
getObservations() - Method in class com.netflix.servo.publish.MemoryMetricObserver
Returns the current set of observations.
getOneMinute() - Method in class com.netflix.servo.util.ThreadCpuStats.CpuUsage
Returns the usage for the last one minute.
getOverall() - Method in class com.netflix.servo.util.ThreadCpuStats.CpuUsage
Returns the overall usage for the lifetime of the thread.
getOverallCpuUsage() - Method in class com.netflix.servo.util.ThreadCpuStats
Overall usage for the jvm.
getPercentiles() - Method in class com.netflix.servo.stats.StatsBuffer
Return the percentiles we will compute: For example: 95.0, 99.0.
getPercentiles() - Method in class com.netflix.servo.stats.StatsConfig
Get a copy of the array that holds which percentiles we should compute.
getPercentileValues() - Method in class com.netflix.servo.stats.StatsBuffer
Get the computed percentileValues.
getPublishCount() - Method in class com.netflix.servo.stats.StatsConfig
Whether we should publish a 'count' statistic.
getPublishingPolicy() - Method in class com.netflix.servo.monitor.MonitorConfig
Returns the publishing policy
getPublishMax() - Method in class com.netflix.servo.stats.StatsConfig
Whether we should publish a 'max' statistic.
getPublishMean() - Method in class com.netflix.servo.stats.StatsConfig
Whether we should publish an 'avg' statistic.
getPublishMin() - Method in class com.netflix.servo.stats.StatsConfig
Whether we should publish a 'min' statistic.
getPublishStdDev() - Method in class com.netflix.servo.stats.StatsConfig
Whether we should publish a 'stdDev' statistic.
getPublishTotal() - Method in class com.netflix.servo.stats.StatsConfig
Whether we should publish a 'totalTime' statistic.
getPublishVariance() - Method in class com.netflix.servo.stats.StatsConfig
Whether we should publish a 'variance' statistic.
getRegisteredMonitors() - Method in class com.netflix.servo.BasicMonitorRegistry
The set of registered Monitor objects.
getRegisteredMonitors() - Method in class com.netflix.servo.DefaultMonitorRegistry
The set of registered Monitor objects.
getRegisteredMonitors() - Method in class com.netflix.servo.jmx.JmxMonitorRegistry
The set of registered Monitor objects.
getRegisteredMonitors() - Method in interface com.netflix.servo.MonitorRegistry
The set of registered Monitor objects.
getSampleGauge() - Method in class com.netflix.servo.examples.BasicExample
 
getSampleSize() - Method in class com.netflix.servo.stats.StatsConfig
Get the size of the buffer that we should use.
getStdDev() - Method in class com.netflix.servo.stats.StatsBuffer
Get the standard deviation for the population of the recorded values present in our buffer.
getTag(String) - Method in class com.netflix.servo.tag.BasicTagList
Returns the tag matching a given key or null if not match is found.
getTag(String) - Method in class com.netflix.servo.tag.SortedTagList
Returns the tag matching a given key or null if not match is found.
getTag(String) - Method in interface com.netflix.servo.tag.TagList
Returns the tag matching a given key or null if not match is found.
getTags(Socket) - Method in class com.netflix.servo.examples.EchoServerExample.AcceptTask
 
getTags() - Method in class com.netflix.servo.monitor.MonitorConfig
Returns the tags associated with the metric.
getTags() - Method in interface com.netflix.servo.tag.TaggingContext
Returns the tags for the current execution context.
getTags() - Method in class com.netflix.servo.tag.ThreadLocalTaggingContext
Get the tags associated with the current thread.
getThreadCpuUsages() - Method in class com.netflix.servo.util.ThreadCpuStats
List of cpu usages for each thread.
getThreadCpuUsages(ThreadCpuStats.CpuUsageComparator) - Method in class com.netflix.servo.util.ThreadCpuStats
Utility function that returns a Map containing cpu usages for threads.
getThreadId() - Method in class com.netflix.servo.util.ThreadCpuStats.CpuUsage
The thread id that is being tracked.
getTimestamp() - Method in class com.netflix.servo.Metric
Returns the point in time when the metric was sampled.
getTimeUnit() - Method in class com.netflix.servo.monitor.BasicTimer
The time unit reported by this timer.
getTimeUnit() - Method in class com.netflix.servo.monitor.ContextualTimer
The time unit reported by this timer.
getTimeUnit() - Method in class com.netflix.servo.monitor.StatsTimer
The time unit reported by this timer.
getTimeUnit() - Method in interface com.netflix.servo.monitor.Timer
The time unit reported by this timer.
getTotalTime() - Method in class com.netflix.servo.monitor.BasicTimer
Get the total time for all updates.
getTotalTime() - Method in class com.netflix.servo.stats.StatsBuffer
Get the total sum of the values recorded.
getUpdateCount() - Method in class com.netflix.servo.publish.BaseMetricObserver
Returns the total number of times update has been called.
getValue() - Method in enum com.netflix.servo.annotations.DataSourceLevel
Returns the value corresponding to this tag.
getValue() - Method in enum com.netflix.servo.annotations.DataSourceType
Returns the value corresponding to this tag.
getValue() - Method in class com.netflix.servo.Metric
Returns the value of the metric.
getValue() - Method in class com.netflix.servo.monitor.BasicCompositeMonitor
Returns the current value for the monitor.
getValue() - Method in class com.netflix.servo.monitor.BasicCounter
Returns the current value for the monitor.
getValue() - Method in class com.netflix.servo.monitor.BasicGauge
Returns the current value for the monitor.
getValue() - Method in class com.netflix.servo.monitor.BasicInformational
Returns the current value for the monitor.
getValue() - Method in class com.netflix.servo.monitor.BasicTimer
Returns the current value for the monitor.
getValue() - Method in class com.netflix.servo.monitor.ContextualCounter
Returns the current value for the monitor.
getValue() - Method in class com.netflix.servo.monitor.ContextualTimer
Returns the current value for the monitor.
getValue() - Method in class com.netflix.servo.monitor.DoubleGauge
Returns the current value for the monitor.
getValue() - Method in class com.netflix.servo.monitor.DynamicCounter
Returns the current value for the monitor.
getValue() - Method in class com.netflix.servo.monitor.DynamicTimer
Returns the current value for the monitor.
getValue() - Method in class com.netflix.servo.monitor.LongGauge
Returns the current value for the monitor.
getValue() - Method in class com.netflix.servo.monitor.MaxGauge
Returns the current value for the monitor.
getValue() - Method in class com.netflix.servo.monitor.MinGauge
Returns the current value for the monitor.
getValue() - Method in interface com.netflix.servo.monitor.Monitor
Returns the current value for the monitor.
getValue() - Method in class com.netflix.servo.monitor.ResettableCounter
Returns the current value for the monitor.
getValue() - Method in class com.netflix.servo.monitor.StatsTimer
Returns the current value for the monitor.
getValue() - Method in class com.netflix.servo.tag.BasicTag
Returns the value corresponding to this tag.
getValue(String) - Method in class com.netflix.servo.tag.BasicTagList
Returns the value matching a given key or null if not match is found.
getValue() - Method in enum com.netflix.servo.tag.InjectableTag
 
getValue(String) - Method in class com.netflix.servo.tag.SortedTagList
Returns the value matching a given key or null if not match is found.
getValue() - Method in interface com.netflix.servo.tag.Tag
Returns the value corresponding to this tag.
getValue(String) - Method in interface com.netflix.servo.tag.TagList
Returns the value matching a given key or null if not match is found.
getVariance() - Method in class com.netflix.servo.stats.StatsBuffer
Get the variance for the population of the recorded values present in our buffer.

H

handleException(Exception) - Method in class com.netflix.servo.monitor.StatsTimer
This is called when we encounter an exception while processing the values recorded to compute the stats.
hashCode() - Method in class com.netflix.servo.Metric
hashCode() - Method in class com.netflix.servo.monitor.BasicCompositeMonitor
hashCode() - Method in class com.netflix.servo.monitor.BasicCounter
hashCode() - Method in class com.netflix.servo.monitor.BasicGauge
hashCode() - Method in class com.netflix.servo.monitor.BasicInformational
hashCode() - Method in class com.netflix.servo.monitor.BasicTimer
hashCode() - Method in class com.netflix.servo.monitor.DoubleGauge
hashCode() - Method in class com.netflix.servo.monitor.LongGauge
hashCode() - Method in class com.netflix.servo.monitor.MaxGauge
hashCode() - Method in class com.netflix.servo.monitor.MinGauge
hashCode() - Method in class com.netflix.servo.monitor.MonitorConfig
This class is immutable so we cache the hash code after the first time it is computed.
hashCode() - Method in class com.netflix.servo.monitor.ResettableCounter
hashCode() - Method in class com.netflix.servo.monitor.StatsTimer
hashCode() - Method in class com.netflix.servo.stats.StatsConfig
hashCode() - Method in class com.netflix.servo.tag.BasicTag
hashCode() - Method in class com.netflix.servo.tag.BasicTagList
hashCode() - Method in class com.netflix.servo.tag.SortedTagList
hasNumberValue() - Method in class com.netflix.servo.Metric
Returns true if the value for this metric is numeric.

I

ID - Static variable in class com.netflix.servo.util.ThreadCpuStats
 
ID_TAG - Static variable in class com.netflix.servo.monitor.TimedInterface
 
increment() - Method in class com.netflix.servo.monitor.BasicCounter
Update the count by one.
increment(long) - Method in class com.netflix.servo.monitor.BasicCounter
Update the count by the specified amount.
increment() - Method in class com.netflix.servo.monitor.ContextualCounter
Update the count by one.
increment(long) - Method in class com.netflix.servo.monitor.ContextualCounter
Update the count by the specified amount.
increment() - Method in interface com.netflix.servo.monitor.Counter
Update the count by one.
increment(long) - Method in interface com.netflix.servo.monitor.Counter
Update the count by the specified amount.
increment(MonitorConfig) - Static method in class com.netflix.servo.monitor.DynamicCounter
Increment a counter based on a given MonitorConfig.
increment(String, String...) - Static method in class com.netflix.servo.monitor.DynamicCounter
Increment a counter specified by a name, and a sequence of (key, value) pairs
increment(MonitorConfig, long) - Static method in class com.netflix.servo.monitor.DynamicCounter
Increment a counter based on a given MonitorConfig by a given delta.
increment(String, TagList) - Static method in class com.netflix.servo.monitor.DynamicCounter
Increment the counter for a given name, tagList
increment(String, TagList, long) - Static method in class com.netflix.servo.monitor.DynamicCounter
Increment the counter for a given name, tagList by a given delta.
increment() - Method in class com.netflix.servo.monitor.ResettableCounter
Update the count by one.
increment(long) - Method in class com.netflix.servo.monitor.ResettableCounter
Update the count by the specified amount.
incrementFailedCount() - Method in class com.netflix.servo.publish.BaseMetricObserver
Can be used by sub-classes to increment the failed count if they handle exception internally.
Informational - Interface in com.netflix.servo.monitor
 
InjectableTag - Enum in com.netflix.servo.tag
Group of Tags who's values will be dynamically set at runtime based on local calls.
INTERFACE_TAG - Static variable in class com.netflix.servo.monitor.TimedInterface
 
intern(String) - Static method in class com.netflix.servo.tag.Tags
Intern strings used for tag keys or values.
intern(Tag) - Static method in class com.netflix.servo.tag.Tags
Returns the canonical representation of a tag.
isEmpty() - Method in class com.netflix.servo.tag.BasicTagList
Returns true if this list is emtpy.
isEmpty() - Method in class com.netflix.servo.tag.SortedTagList
Returns true if this list is emtpy.
isEmpty() - Method in interface com.netflix.servo.tag.TagList
Returns true if this list is emtpy.
isRunning() - Method in class com.netflix.servo.util.ThreadCpuStats
Returns true if cpu status are currently being collected.
isStarted() - Method in class com.netflix.servo.publish.PollScheduler
Returns true if this scheduler is currently started.
iterator() - Method in class com.netflix.servo.tag.BasicTagList
iterator() - Method in class com.netflix.servo.tag.SortedTagList
iterator() - Method in interface com.netflix.servo.tag.TagList

J

JmxClientExample - Class in com.netflix.servo.examples
JMX client that grabs the MonitoredResources.
JmxConnector - Interface in com.netflix.servo.publish
Used to get a connection to a JMX mbean server.
JmxMetricPoller - Class in com.netflix.servo.publish
Generic poller for fetching simple data from JMX.
JmxMetricPoller(JmxConnector, ObjectName, MetricFilter) - Constructor for class com.netflix.servo.publish.JmxMetricPoller
Creates a new instance that polls mbeans matching the provided object name pattern.
JmxMetricPoller(JmxConnector, List<ObjectName>, MetricFilter) - Constructor for class com.netflix.servo.publish.JmxMetricPoller
Creates a new instance that polls mbeans matching the provided object name patterns.
JmxMonitorRegistry - Class in com.netflix.servo.jmx
Monitor registry backed by JMX.
JmxMonitorRegistry(String) - Constructor for class com.netflix.servo.jmx.JmxMonitorRegistry
Creates a new instance that registers metrics with the local mbean server.
JVM_USAGE_PERCENT - Static variable in class com.netflix.servo.util.ThreadCpuStats
 
JVM_USAGE_TIME - Static variable in class com.netflix.servo.util.ThreadCpuStats
 
JvmMetricExample - Class in com.netflix.servo.examples
Example of collecting arbitrary JMX metrics, in this case the standard metrics exposed under java.lang by the JVM.

K

KEY - Static variable in enum com.netflix.servo.annotations.DataSourceLevel
Key name used for the data source level tag.
KEY - Static variable in enum com.netflix.servo.annotations.DataSourceType
Key name used for the data source type tag.

L

LocalJmxConnector - Class in com.netflix.servo.publish
Retrieves a connection to the local mbean server running in the same JVM.
LocalJmxConnector() - Constructor for class com.netflix.servo.publish.LocalJmxConnector
Creates a new instance.
logger - Variable in class com.netflix.servo.publish.BaseMetricPoller
 
LongGauge - Class in com.netflix.servo.monitor
A Gauge that reports a long value.
LongGauge(MonitorConfig) - Constructor for class com.netflix.servo.monitor.LongGauge
Create a new instance with the specified configuration

M

main(String[]) - Static method in class com.netflix.servo.examples.BasicExample
 
main(String[]) - Static method in class com.netflix.servo.examples.EchoServerExample
 
main(String[]) - Static method in class com.netflix.servo.examples.JmxClientExample
 
main(String[]) - Static method in class com.netflix.servo.examples.JvmMetricExample
 
main(String[]) - Static method in class com.netflix.servo.examples.ManyMetricsExample
 
main(String[]) - Static method in class com.netflix.servo.examples.TagListExample
 
ManyMetricsExample - Class in com.netflix.servo.examples
Registers a lot of metrics and configures a poller to query them once a second.
MATCH_ALL - Static variable in class com.netflix.servo.publish.BasicMetricFilter
Filter that matches all metrics.
MATCH_NONE - Static variable in class com.netflix.servo.publish.BasicMetricFilter
Filter that does not match any metrics.
matches(MonitorConfig) - Method in class com.netflix.servo.publish.BasicMetricFilter
Check if a metric with the provided configuration should be selected and sent to observers.
matches(MonitorConfig) - Method in interface com.netflix.servo.publish.MetricFilter
Check if a metric with the provided configuration should be selected and sent to observers.
matches(MonitorConfig) - Method in class com.netflix.servo.publish.PrefixMetricFilter
Check if a metric with the provided configuration should be selected and sent to observers.
matches(MonitorConfig) - Method in class com.netflix.servo.publish.RegexMetricFilter
Check if a metric with the provided configuration should be selected and sent to observers.
MaxGauge - Class in com.netflix.servo.monitor
Gauge that keeps track of the maximum value seen since the last reset.
MaxGauge(MonitorConfig) - Constructor for class com.netflix.servo.monitor.MaxGauge
Creates a new instance of the gauge.
MemoryMetricObserver - Class in com.netflix.servo.publish
Keeps the last N observations in-memory.
MemoryMetricObserver() - Constructor for class com.netflix.servo.publish.MemoryMetricObserver
Creates a new instance that keeps 10 copies in memory.
MemoryMetricObserver(String, int) - Constructor for class com.netflix.servo.publish.MemoryMetricObserver
Creates a new instance that keeps num copies in memory.
Metric - Class in com.netflix.servo
Represents a metric value at a given point in time.
Metric(String, TagList, long, Object) - Constructor for class com.netflix.servo.Metric
Creates a new instance.
Metric(MonitorConfig, long, Object) - Constructor for class com.netflix.servo.Metric
Creates a new instance.
MetricFilter - Interface in com.netflix.servo.publish
A filter to restrict the set of metrics that are polled.
MetricObserver - Interface in com.netflix.servo.publish
Observer that receives updates about metrics.
MetricPoller - Interface in com.netflix.servo.publish
A poller that can be used to fetch current values for a list of metrics on demand.
MinGauge - Class in com.netflix.servo.monitor
Gauge that keeps track of the minimum value seen since the last reset.
MinGauge(MonitorConfig) - Constructor for class com.netflix.servo.monitor.MinGauge
Creates a new instance of the gauge.
Monitor - Annotation Type in com.netflix.servo.annotations
Annotation indicating a field or method should be collected for monitoring.
Monitor<T> - Interface in com.netflix.servo.monitor
Provides a way to sample a value tied to a particular configuration.
MonitorConfig - Class in com.netflix.servo.monitor
Configuration settings associated with a monitor.
MonitorConfig.Builder - Class in com.netflix.servo.monitor
 
MonitorConfig.Builder(MonitorConfig) - Constructor for class com.netflix.servo.monitor.MonitorConfig.Builder
 
MonitorConfig.Builder(String) - Constructor for class com.netflix.servo.monitor.MonitorConfig.Builder
 
MonitorRegistry - Interface in com.netflix.servo
Registry to keep track of objects with Monitor annotations.
MonitorRegistryMetricPoller - Class in com.netflix.servo.publish
Poller for fetching Monitor metrics from a monitor registry.
MonitorRegistryMetricPoller() - Constructor for class com.netflix.servo.publish.MonitorRegistryMetricPoller
Creates a new instance using DefaultMonitorRegistry.
MonitorRegistryMetricPoller(MonitorRegistry) - Constructor for class com.netflix.servo.publish.MonitorRegistryMetricPoller
Creates a new instance using the specified registry.
MonitorRegistryMetricPoller(MonitorRegistry, long, TimeUnit) - Constructor for class com.netflix.servo.publish.MonitorRegistryMetricPoller
Creates a new instance using the specified registry and a time limiter.
MonitorRegistryMetricPoller(MonitorRegistry, long, TimeUnit, boolean) - Constructor for class com.netflix.servo.publish.MonitorRegistryMetricPoller
Creates a new instance using the specified registry.
monitors - Variable in class com.netflix.servo.monitor.AbstractContextualMonitor
Thread-safe map keeping track of the distinct monitors that have been created so far.
Monitors - Class in com.netflix.servo.monitor
Some helper functions for creating monitor objects.
MonitorTags - Annotation Type in com.netflix.servo.annotations
Tags to associate with all metrics in an instance.

N

NAME - Static variable in class com.netflix.servo.util.ThreadCpuStats
 
newCacheMonitor(String, Cache<?, ?>) - Static method in class com.netflix.servo.monitor.Monitors
Creates a new monitor for a cache with standard metrics for the hits, misses, and loads.
newCounter(String) - Static method in class com.netflix.servo.monitor.Monitors
Create a new counter instance.
newCounter(String, TaggingContext) - Static method in class com.netflix.servo.monitor.Monitors
Create a new counter with a name and context.
newMonitor - Variable in class com.netflix.servo.monitor.AbstractContextualMonitor
Factory funtion used to create a new instance of a monitor.
newObjectMonitor(Object) - Static method in class com.netflix.servo.monitor.Monitors
Helper function to easily create a composite for all monitor fields and annotated attributes of a given object.
newObjectMonitor(String, Object) - Static method in class com.netflix.servo.monitor.Monitors
Helper function to easily create a composite for all monitor fields and annotated attributes of a given object.
newProxy(Class<T>, T, String) - Static method in class com.netflix.servo.monitor.TimedInterface
Creates a new TimedInterface for a given interface ctype with a concrete class concrete and a specific id.
newProxy(Class<T>, T) - Static method in class com.netflix.servo.monitor.TimedInterface
Creates a new TimedInterface for a given interface ctype with a concrete class concrete.
newTag(String, String) - Static method in class com.netflix.servo.tag.Tags
Create a new tag instance.
newThreadPoolMonitor(String, ThreadPoolExecutor) - Static method in class com.netflix.servo.monitor.Monitors
Creates a new monitor for a thread pool with standard metrics for the pool size, queue size, task counts, etc.
newTimer(String) - Static method in class com.netflix.servo.monitor.Monitors
Create a new timer with only the name specified.
newTimer(String, TaggingContext) - Static method in class com.netflix.servo.monitor.Monitors
Create a new timer with a name and context.
newTimer(String, TimeUnit) - Static method in class com.netflix.servo.monitor.Monitors
Create a new timer with only the name specified.
newTimer(String, TimeUnit, TaggingContext) - Static method in class com.netflix.servo.monitor.Monitors
Create a new timer with a name and context.
NumericMonitor<T extends java.lang.Number> - Interface in com.netflix.servo.monitor
A monitor type that has a numeric value.

O

of(String...) - Static method in class com.netflix.servo.tag.BasicTagList
Returns a tag list from the list of key values passed.
of(Tag...) - Static method in class com.netflix.servo.tag.BasicTagList
Returns a tag list from the tags
ONE_MIN - Static variable in class com.netflix.servo.util.ThreadCpuStats
 
OVERALL - Static variable in class com.netflix.servo.util.ThreadCpuStats
 

P

parseTag(String) - Static method in class com.netflix.servo.tag.BasicTag
Deprecated. Use Tags.parseTag instead.
parseTag(String) - Static method in class com.netflix.servo.tag.Tags
Parse a string representing a tag.
poll(MetricFilter) - Method in class com.netflix.servo.publish.BaseMetricPoller
Fetch the current values for a set of metrics that match the provided filter.
poll(MetricFilter, boolean) - Method in class com.netflix.servo.publish.BaseMetricPoller
Fetch the current values for a set of metrics that match the provided filter.
poll(MetricFilter) - Method in class com.netflix.servo.publish.CompositeMetricPoller
Fetch the current values for a set of metrics that match the provided filter.
poll(MetricFilter, boolean) - Method in class com.netflix.servo.publish.CompositeMetricPoller
Fetch the current values for a set of metrics that match the provided filter.
poll(MetricFilter) - Method in class com.netflix.servo.publish.JmxMetricPoller
Fetch the current values for a set of metrics that match the provided filter.
poll(MetricFilter, boolean) - Method in class com.netflix.servo.publish.JmxMetricPoller
Fetch the current values for a set of metrics that match the provided filter.
poll(MetricFilter) - Method in interface com.netflix.servo.publish.MetricPoller
Fetch the current values for a set of metrics that match the provided filter.
poll(MetricFilter, boolean) - Method in interface com.netflix.servo.publish.MetricPoller
Fetch the current values for a set of metrics that match the provided filter.
poll(MetricFilter) - Method in class com.netflix.servo.publish.MonitorRegistryMetricPoller
Fetch the current values for a set of metrics that match the provided filter.
poll(MetricFilter, boolean) - Method in class com.netflix.servo.publish.MonitorRegistryMetricPoller
Fetch the current values for a set of metrics that match the provided filter.
PollCallable - Class in com.netflix.servo.publish
Callable implementation that invokes the MetricPoller.poll(com.netflix.servo.publish.MetricFilter) method.
PollCallable(MetricPoller, MetricFilter) - Constructor for class com.netflix.servo.publish.PollCallable
Creates a new instance.
PollCallable(MetricPoller, MetricFilter, boolean) - Constructor for class com.netflix.servo.publish.PollCallable
Creates a new instance.
pollImpl(boolean) - Method in class com.netflix.servo.publish.BaseMetricPoller
Return a list of all current metrics for this poller.
PollRunnable - Class in com.netflix.servo.publish
Runnable that will send updates to a collection of observers.
PollRunnable(MetricPoller, MetricFilter, Collection<MetricObserver>) - Constructor for class com.netflix.servo.publish.PollRunnable
Creates a new runnable instance that executes poll with the given filter and sends the metrics to all of the given observers.
PollRunnable(MetricPoller, MetricFilter, boolean, Collection<MetricObserver>) - Constructor for class com.netflix.servo.publish.PollRunnable
Creates a new runnable instance that executes poll with the given filter and sends the metrics to all of the given observers.
PollRunnable(MetricPoller, MetricFilter, MetricObserver...) - Constructor for class com.netflix.servo.publish.PollRunnable
Creates a new runnable instance that executes poll with the given filter and sends the metrics to all of the given observers.
PollScheduler - Class in com.netflix.servo.publish
Basic scheduler for polling metrics and reporting them to observers.
PrefixMetricFilter - Class in com.netflix.servo.publish
Filter that checks for a prefix match on a given tag.
PrefixMetricFilter(String, MetricFilter, NavigableMap<String, MetricFilter>) - Constructor for class com.netflix.servo.publish.PrefixMetricFilter
Creates a new prefix filter.
printThreadCpuUsages() - Method in class com.netflix.servo.util.ThreadCpuStats
Utility function that dumps the cpu usages for the threads to stdout.
printThreadCpuUsages(OutputStream, ThreadCpuStats.CpuUsageComparator) - Method in class com.netflix.servo.util.ThreadCpuStats
Utility function that dumps the cpu usages for the threads to stdout.
PublishingPolicy - Interface in com.netflix.servo.monitor
A publishing policy allows us to customize the behavior of different observers.

R

record(long) - Method in class com.netflix.servo.monitor.BasicTimer
Record a new value for this timer.
record(long, TimeUnit) - Method in class com.netflix.servo.monitor.BasicTimer
Record a new value that was collected with the given TimeUnit.
record(long) - Method in class com.netflix.servo.monitor.ContextualTimer
Record a new value for this timer.
record(long, TimeUnit) - Method in class com.netflix.servo.monitor.ContextualTimer
Record a new value that was collected with the given TimeUnit.
record(MonitorConfig, long) - Static method in class com.netflix.servo.monitor.DynamicTimer
Record result to the dynamic timer indicated by the provided config with a TimeUnit of milliseconds.
record(MonitorConfig, long, TimeUnit) - Static method in class com.netflix.servo.monitor.DynamicTimer
Record result to the dynamic timer indicated by the provided config.
record(long) - Method in class com.netflix.servo.monitor.StatsTimer
Record a new value for this timer.
record(long, TimeUnit) - Method in class com.netflix.servo.monitor.StatsTimer
Record a new value that was collected with the given TimeUnit.
record(long) - Method in interface com.netflix.servo.monitor.Timer
Record a new value for this timer.
record(long, TimeUnit) - Method in interface com.netflix.servo.monitor.Timer
Record a new value that was collected with the given TimeUnit.
record(long) - Method in class com.netflix.servo.stats.StatsBuffer
Record a new value for this buffer.
RegexMetricFilter - Class in com.netflix.servo.publish
Filter that checks if a tag value matches a regular expression.
RegexMetricFilter(String, Pattern, boolean, boolean) - Constructor for class com.netflix.servo.publish.RegexMetricFilter
Creates a new regex filter.
register(Monitor<?>) - Method in class com.netflix.servo.BasicMonitorRegistry
Register a new monitor in the registry.
register(Monitor<?>) - Method in class com.netflix.servo.DefaultMonitorRegistry
Register a new monitor in the registry.
register(Monitor<?>) - Method in class com.netflix.servo.jmx.JmxMonitorRegistry
Register a new monitor in the registry.
register(Monitor<?>) - Method in interface com.netflix.servo.MonitorRegistry
Register a new monitor in the registry.
registerObject(Object) - Static method in class com.netflix.servo.monitor.Monitors
Register an object with the default registry.
registerObject(String, Object) - Static method in class com.netflix.servo.monitor.Monitors
Register an object with the default registry.
reset() - Method in class com.netflix.servo.monitor.BasicStopwatch
Reset the stopwatch so that it can be used again.
reset() - Method in interface com.netflix.servo.monitor.Stopwatch
Reset the stopwatch so that it can be used again.
reset() - Method in class com.netflix.servo.publish.CounterToRateMetricTransform
Clear all cached state of previous counter values.
reset() - Method in class com.netflix.servo.stats.StatsBuffer
Reset our local state: All values are set to 0.
reset() - Method in class com.netflix.servo.tag.ThreadLocalTaggingContext
Remove the tags associated with the current thread.
ResettableCounter - Class in com.netflix.servo.monitor
Counter implementation that keeps track of updates since the last reset.
ResettableCounter(MonitorConfig) - Constructor for class com.netflix.servo.monitor.ResettableCounter
Create a new instance of the counter.
ResettableMonitor<T> - Interface in com.netflix.servo.monitor
Used to indicate a monitor that should be reset after sampling.
run() - Method in class com.netflix.servo.examples.EchoServerExample.AcceptTask
 
run() - Method in class com.netflix.servo.examples.EchoServerExample.ClientTask
 
run() - Method in class com.netflix.servo.publish.PollRunnable

S

set(Double) - Method in class com.netflix.servo.monitor.DoubleGauge
Set the current value.
set(Long) - Method in class com.netflix.servo.monitor.LongGauge
Set the current value.
setSampleGauge(long) - Method in class com.netflix.servo.examples.BasicExample
 
setTags(TagList) - Method in class com.netflix.servo.tag.ThreadLocalTaggingContext
Set the tags to be associated with the current thread.
setValue(String) - Method in class com.netflix.servo.monitor.BasicInformational
Set the value to show for this monitor.
shutdown() - Method in class com.netflix.servo.examples.EchoServerExample
 
shutdown() - Method in class com.netflix.servo.publish.MonitorRegistryMetricPoller
Shutsdown the thread executor used for time limiting the get value calls.
size() - Method in class com.netflix.servo.tag.BasicTagList
Returns the number of tags in this list.
size() - Method in class com.netflix.servo.tag.SortedTagList
Returns the number of tags in this list.
size() - Method in interface com.netflix.servo.tag.TagList
Returns the number of tags in this list.
SortedTagList - Class in com.netflix.servo.tag
 
SortedTagList.Builder - Class in com.netflix.servo.tag
 
SortedTagList.Builder() - Constructor for class com.netflix.servo.tag.SortedTagList.Builder
 
StandardTagKeys - Enum in com.netflix.servo.tag
Standard tag keys that are used within this library.
start() - Method in class com.netflix.servo.examples.EchoServerExample
 
start() - Method in class com.netflix.servo.monitor.BasicStopwatch
Mark the start time.
start() - Method in class com.netflix.servo.monitor.BasicTimer
Returns a stopwatch that has been started and will automatically record its result to this timer when stopped.
start() - Method in class com.netflix.servo.monitor.ContextualTimer
Returns a stopwatch that has been started and will automatically record its result to this timer when stopped.
start(MonitorConfig, TimeUnit) - Static method in class com.netflix.servo.monitor.DynamicTimer
Returns a stopwatch that has been started and will automatically record its result to the dynamic timer specified by the given config.
start(MonitorConfig) - Static method in class com.netflix.servo.monitor.DynamicTimer
Returns a stopwatch that has been started and will automatically record its result to the dynamic timer specified by the given config.
start(String, String...) - Static method in class com.netflix.servo.monitor.DynamicTimer
Returns a stopwatch that has been started and will automatically record its result to the dynamic timer specified by the given name, and sequence of (key, value) pairs.
start(String, TagList) - Static method in class com.netflix.servo.monitor.DynamicTimer
Returns a stopwatch that has been started and will automatically record its result to the dynamic timer specified by the given config.
start(String, TagList, TimeUnit) - Static method in class com.netflix.servo.monitor.DynamicTimer
Returns a stopwatch that has been started and will automatically record its result to the dynamic timer specified by the given config.
start() - Method in class com.netflix.servo.monitor.StatsTimer
Returns a stopwatch that has been started and will automatically record its result to this timer when stopped.
start() - Method in interface com.netflix.servo.monitor.Stopwatch
Mark the start time.
start() - Method in interface com.netflix.servo.monitor.Timer
Returns a stopwatch that has been started and will automatically record its result to this timer when stopped.
start() - Method in class com.netflix.servo.publish.PollScheduler
Start scheduling tasks with a default thread pool, sized based on the number of available processors.
start(ScheduledExecutorService) - Method in class com.netflix.servo.publish.PollScheduler
Start the poller with the given executor service.
start() - Method in class com.netflix.servo.util.ThreadCpuStats
Start collecting cpu stats for the threads.
StatsBuffer - Class in com.netflix.servo.stats
A simple circular buffer that records values, and computes useful stats.
StatsBuffer(int, double[]) - Constructor for class com.netflix.servo.stats.StatsBuffer
Create a circular buffer that will be used to record values and compute useful stats
StatsConfig - Class in com.netflix.servo.stats
Configuration options for a StatsTimer
StatsConfig(StatsConfig.Builder) - Constructor for class com.netflix.servo.stats.StatsConfig
Creates a new configuration object for stats gathering.
StatsConfig.Builder - Class in com.netflix.servo.stats
Builder for StatsConfig.
StatsConfig.Builder() - Constructor for class com.netflix.servo.stats.StatsConfig.Builder
 
StatsTimer - Class in com.netflix.servo.monitor
A Timer that provides statistics.
StatsTimer(MonitorConfig, StatsConfig) - Constructor for class com.netflix.servo.monitor.StatsTimer
Creates a new instance of the timer with a unit of milliseconds, using the default executor.
StatsTimer(MonitorConfig, StatsConfig, TimeUnit) - Constructor for class com.netflix.servo.monitor.StatsTimer
Creates a new instance of the timer with a given unit, using the default executor.
StatsTimer(MonitorConfig, StatsConfig, TimeUnit, ScheduledExecutorService) - Constructor for class com.netflix.servo.monitor.StatsTimer
Creates a new instance of the timer with a unit of milliseconds, using the ScheduledExecutorService provided by the user.
stop() - Method in class com.netflix.servo.monitor.BasicStopwatch
Mark the end time.
stop() - Method in interface com.netflix.servo.monitor.Stopwatch
Mark the end time.
stop() - Method in class com.netflix.servo.publish.AsyncMetricObserver
Stop the background thread that pushes updates to the wrapped observer.
stop() - Method in class com.netflix.servo.publish.PollScheduler
Stop the poller, shutting down the current executor service.
stop() - Method in class com.netflix.servo.util.ThreadCpuStats
Stop collecting cpu stats for the threads.
Stopwatch - Interface in com.netflix.servo.monitor
Measures the time taken for execution of some code.

T

Tag - Interface in com.netflix.servo.tag
A key-value pair associated with a metric.
TagComparator - Class in com.netflix.servo.tag
Comparator for ordering tags based on the key then the value.
TagComparator() - Constructor for class com.netflix.servo.tag.TagComparator
 
TaggingContext - Interface in com.netflix.servo.tag
Returns the set of tags associated with the current execution context.
TagList - Interface in com.netflix.servo.tag
Represents a list of tags associated with a metric value.
TagListExample - Class in com.netflix.servo.examples
Creates a lot of tag lists with a fixed set of key/value pairs.
Tags - Class in com.netflix.servo.tag
Helper functions for working with tags and tag lists.
tagString() - Method in enum com.netflix.servo.annotations.DataSourceLevel
Returns the string representation of this tag.
tagString() - Method in enum com.netflix.servo.annotations.DataSourceType
Returns the string representation of this tag.
tagString() - Method in class com.netflix.servo.tag.BasicTag
 
tagString() - Method in enum com.netflix.servo.tag.InjectableTag
 
tagString() - Method in interface com.netflix.servo.tag.Tag
Returns the string representation of this tag.
ThreadCpuStats - Class in com.netflix.servo.util
Keep track of the cpu usage for threads in the jvm.
ThreadCpuStats.CpuUsage - Class in com.netflix.servo.util
Keeps track of the cpu usage for a single thread.
ThreadCpuStats.CpuUsageComparator - Enum in com.netflix.servo.util
Comparator for sorting cpu usage based on one of the columns.
ThreadLocalTaggingContext - Class in com.netflix.servo.tag
Keeps track of tags that should be applied to counters incremented in the current thread.
THREADS - Static variable in class com.netflix.servo.util.ThreadCpuStats
 
TIMED_INTERFACE - Static variable in class com.netflix.servo.monitor.TimedInterface
 
TimedInterface - Class in com.netflix.servo.monitor
This class creates a Proxy monitor that tracks all calls to methods of an interface.
TimedInterface() - Constructor for class com.netflix.servo.monitor.TimedInterface
 
Timer - Interface in com.netflix.servo.monitor
Monitor type for tracking how much time something is taking.
toDuration(long) - Static method in class com.netflix.servo.util.ThreadCpuStats
Convert time in nanoseconds to a duration string.
toPercent(long, long) - Static method in class com.netflix.servo.util.ThreadCpuStats
Helper function for computing percentage.
toString() - Method in class com.netflix.servo.Metric
toString() - Method in class com.netflix.servo.monitor.BasicCompositeMonitor
toString() - Method in class com.netflix.servo.monitor.BasicCounter
toString() - Method in class com.netflix.servo.monitor.BasicGauge
toString() - Method in class com.netflix.servo.monitor.BasicInformational
toString() - Method in class com.netflix.servo.monitor.BasicTimer
toString() - Method in class com.netflix.servo.monitor.DefaultPublishingPolicy
 
toString() - Method in class com.netflix.servo.monitor.DoubleGauge
toString() - Method in class com.netflix.servo.monitor.DynamicCounter
toString() - Method in class com.netflix.servo.monitor.DynamicTimer
toString() - Method in class com.netflix.servo.monitor.LongGauge
toString() - Method in class com.netflix.servo.monitor.MaxGauge
toString() - Method in class com.netflix.servo.monitor.MinGauge
toString() - Method in class com.netflix.servo.monitor.MonitorConfig
toString() - Method in class com.netflix.servo.monitor.ResettableCounter
toString() - Method in class com.netflix.servo.monitor.StatsTimer
toString() - Method in class com.netflix.servo.stats.StatsConfig
toString() - Method in class com.netflix.servo.tag.BasicTag
toString() - Method in class com.netflix.servo.tag.BasicTagList
toString() - Method in class com.netflix.servo.tag.SortedTagList

U

unregister(Monitor<?>) - Method in class com.netflix.servo.BasicMonitorRegistry
Unregister a Monitor from the registry.
unregister(Monitor<?>) - Method in class com.netflix.servo.DefaultMonitorRegistry
Unregister a Monitor from the registry.
unregister(Monitor<?>) - Method in class com.netflix.servo.jmx.JmxMonitorRegistry
Unregister a Monitor from the registry.
unregister(Monitor<?>) - Method in interface com.netflix.servo.MonitorRegistry
Unregister a Monitor from the registry.
unregisterObject(Object) - Static method in class com.netflix.servo.monitor.Monitors
Unregister an object from the default registry.
unregisterObject(String, Object) - Static method in class com.netflix.servo.monitor.Monitors
Unregister an object from the default registry.
update(long) - Method in class com.netflix.servo.monitor.MaxGauge
Update the max if the provided value is larger than the current max.
update(long) - Method in class com.netflix.servo.monitor.MinGauge
Update the min if the provided value is smaller than the current min.
update(List<Metric>) - Method in class com.netflix.servo.publish.BaseMetricObserver
Invoked with the most recent values for a set of metrics.
update(List<Metric>) - Method in class com.netflix.servo.publish.CounterToRateMetricTransform
Invoked with the most recent values for a set of metrics.
update(List<Metric>) - Method in interface com.netflix.servo.publish.MetricObserver
Invoked with the most recent values for a set of metrics.
updateImpl(List<Metric>) - Method in class com.netflix.servo.publish.AsyncMetricObserver
Update method that should be defined by sub-classes.
updateImpl(List<Metric>) - Method in class com.netflix.servo.publish.BaseMetricObserver
Update method that should be defined by sub-classes.
updateImpl(List<Metric>) - Method in class com.netflix.servo.publish.FileMetricObserver
Update method that should be defined by sub-classes.
updateImpl(List<Metric>) - Method in class com.netflix.servo.publish.MemoryMetricObserver
Update method that should be defined by sub-classes.
UPTIME_MS - Static variable in class com.netflix.servo.util.ThreadCpuStats
 

V

valueOf(String) - Static method in enum com.netflix.servo.annotations.DataSourceLevel
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.netflix.servo.annotations.DataSourceType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.netflix.servo.tag.InjectableTag
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.netflix.servo.tag.StandardTagKeys
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.netflix.servo.util.ThreadCpuStats.CpuUsageComparator
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.netflix.servo.annotations.DataSourceLevel
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.netflix.servo.annotations.DataSourceType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.netflix.servo.tag.InjectableTag
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.netflix.servo.tag.StandardTagKeys
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.netflix.servo.util.ThreadCpuStats.CpuUsageComparator
Returns an array containing the constants of this enum type, in the order they are declared.

W

withAdditionalTag(Tag) - Method in class com.netflix.servo.monitor.MonitorConfig
Returns a copy of the monitor config with an additional tag.
withAdditionalTags(TagList) - Method in class com.netflix.servo.monitor.MonitorConfig
Returns a copy of the monitor config with additional tags.
withComputeFrequencyMillis(long) - Method in class com.netflix.servo.stats.StatsConfig.Builder
 
withPercentiles(double[]) - Method in class com.netflix.servo.stats.StatsConfig.Builder
 
withPublishCount(boolean) - Method in class com.netflix.servo.stats.StatsConfig.Builder
 
withPublishingPolicy(PublishingPolicy) - Method in class com.netflix.servo.monitor.MonitorConfig.Builder
 
withPublishMax(boolean) - Method in class com.netflix.servo.stats.StatsConfig.Builder
 
withPublishMean(boolean) - Method in class com.netflix.servo.stats.StatsConfig.Builder
 
withPublishMin(boolean) - Method in class com.netflix.servo.stats.StatsConfig.Builder
 
withPublishStdDev(boolean) - Method in class com.netflix.servo.stats.StatsConfig.Builder
 
withPublishTotal(boolean) - Method in class com.netflix.servo.stats.StatsConfig.Builder
 
withPublishVariance(boolean) - Method in class com.netflix.servo.stats.StatsConfig.Builder
 
withSampleSize(int) - Method in class com.netflix.servo.stats.StatsConfig.Builder
 
withTag(String, String) - Method in class com.netflix.servo.monitor.MonitorConfig.Builder
 
withTag(Tag) - Method in class com.netflix.servo.monitor.MonitorConfig.Builder
 
withTag(Tag) - Method in class com.netflix.servo.tag.SortedTagList.Builder
 
withTag(String, String) - Method in class com.netflix.servo.tag.SortedTagList.Builder
 
withTags(TagList) - Method in class com.netflix.servo.monitor.MonitorConfig.Builder
 
withTags(Collection<Tag>) - Method in class com.netflix.servo.monitor.MonitorConfig.Builder
 
withTags(Collection<Tag>) - Method in class com.netflix.servo.tag.SortedTagList.Builder
 
withTags(TagList) - Method in class com.netflix.servo.tag.SortedTagList.Builder
 

A B C D E F G H I J K L M N O P R S T U V W