Package | Description |
---|---|
io.micrometer.core.instrument |
Copyright 2017 Pivotal Software, Inc.
|
io.micrometer.core.instrument.binder.cache |
Copyright 2017 Pivotal Software, Inc.
|
io.micrometer.core.instrument.binder.jvm | |
io.micrometer.core.instrument.binder.tomcat | |
io.micrometer.core.instrument.composite |
Copyright 2017 Pivotal Software, Inc.
|
io.micrometer.core.instrument.config |
Copyright 2017 Pivotal Software, Inc.
|
io.micrometer.core.instrument.distribution |
Copyright 2017 Pivotal Software, Inc.
|
io.micrometer.core.instrument.dropwizard |
Copyright 2017 Pivotal Software, Inc.
|
io.micrometer.core.instrument.internal |
Copyright 2017 Pivotal Software, Inc.
|
io.micrometer.core.instrument.search |
Copyright 2017 Pivotal Software, Inc.
|
io.micrometer.core.instrument.simple |
Copyright 2017 Pivotal Software, Inc.
|
io.micrometer.core.instrument.step |
Copyright 2017 Pivotal Software, Inc.
|
io.micrometer.core.instrument.util |
Copyright 2017 Pivotal Software, Inc.
|
io.micrometer.core.ipc.http |
Modifier and Type | Method and Description |
---|---|
<T extends Number> |
MeterRegistry.gauge(String name,
Iterable<Tag> tags,
T number)
Register a gauge that reports the value of the
Number . |
static <T extends Number> |
Metrics.gauge(String name,
Iterable<Tag> tags,
T number)
Register a gauge that reports the value of the
Number . |
<T> T |
MeterRegistry.gauge(String name,
Iterable<Tag> tags,
T obj,
ToDoubleFunction<T> valueFunction)
Register a gauge that reports the value of the object after the function
valueFunction is applied. |
static <T> T |
Metrics.gauge(String name,
Iterable<Tag> tags,
T obj,
ToDoubleFunction<T> valueFunction)
Register a gauge that reports the value of the object after the function
valueFunction is applied. |
<T extends Number> |
MeterRegistry.gauge(String name,
T number)
Register a gauge that reports the value of the
Number . |
static <T extends Number> |
Metrics.gauge(String name,
T number)
Register a gauge that reports the value of the
Number . |
<T> T |
MeterRegistry.gauge(String name,
T obj,
ToDoubleFunction<T> valueFunction)
Register a gauge that reports the value of the object.
|
static <T> T |
Metrics.gauge(String name,
T obj,
ToDoubleFunction<T> valueFunction)
Register a gauge that reports the value of the object.
|
<T extends Collection<?>> |
MeterRegistry.gaugeCollectionSize(String name,
Iterable<Tag> tags,
T collection)
Register a gauge that reports the size of the
Collection . |
static <T extends Collection<?>> |
Metrics.gaugeCollectionSize(String name,
Iterable<Tag> tags,
T collection)
Register a gauge that reports the size of the
Collection . |
<T extends Map<?,?>> |
MeterRegistry.gaugeMapSize(String name,
Iterable<Tag> tags,
T map)
Register a gauge that reports the size of the
Map . |
static <T extends Map<?,?>> |
Metrics.gaugeMapSize(String name,
Iterable<Tag> tags,
T map)
Register a gauge that reports the size of the
Map . |
String |
Meter.Id.getBaseUnit() |
String |
Meter.Id.getDescription() |
String |
Meter.Id.getTag(String key) |
Meter |
MeterRegistry.remove(Meter.Id id) |
Meter |
MeterRegistry.remove(Meter meter) |
Meter.Id |
Meter.Id.syntheticAssociation()
For internal use.
|
Modifier and Type | Method and Description |
---|---|
Tags |
Tags.and(Iterable<? extends Tag> tags)
Return a new
Tags instance by merging this collection and the specific tags. |
Tags |
Tags.and(String... keyValues)
Return a new
Tags instance by merging this collection and the specific key/value pairs. |
Tags |
Tags.and(Tag... tags)
Return a new
Tags instance by merging this collection and the specific tags. |
MultiGauge.Builder |
MultiGauge.Builder.baseUnit(String unit) |
Gauge.Builder<T> |
Gauge.Builder.baseUnit(String unit) |
Meter.Builder |
Meter.Builder.baseUnit(String unit) |
FunctionCounter.Builder<T> |
FunctionCounter.Builder.baseUnit(String unit) |
DistributionSummary.Builder |
DistributionSummary.Builder.baseUnit(String unit) |
Counter.Builder |
Counter.Builder.baseUnit(String unit) |
static <T> TimeGauge.Builder<T> |
TimeGauge.builder(String name,
T obj,
TimeUnit fUnits,
ToDoubleFunction<T> f) |
static <T> Gauge.Builder<T> |
Gauge.builder(String name,
T obj,
ToDoubleFunction<T> f) |
static <T> FunctionCounter.Builder<T> |
FunctionCounter.builder(String name,
T obj,
ToDoubleFunction<T> f) |
Timer.Builder |
Timer.Builder.description(String description) |
MultiGauge.Builder |
MultiGauge.Builder.description(String description) |
Gauge.Builder<T> |
Gauge.Builder.description(String description) |
FunctionTimer.Builder<T> |
FunctionTimer.Builder.description(String description) |
TimeGauge.Builder<T> |
TimeGauge.Builder.description(String description) |
Meter.Builder |
Meter.Builder.description(String description) |
LongTaskTimer.Builder |
LongTaskTimer.Builder.description(String description) |
FunctionCounter.Builder<T> |
FunctionCounter.Builder.description(String description) |
DistributionSummary.Builder |
DistributionSummary.Builder.description(String description) |
Counter.Builder |
Counter.Builder.description(String description) |
Timer.Builder |
Timer.Builder.distributionStatisticBufferLength(Integer bufferLength)
Statistics emanating from a timer like max, percentiles, and histogram counts decay over time to
give greater weight to recent samples (exception: histogram counts are cumulative for those systems that expect cumulative
histogram buckets).
|
DistributionSummary.Builder |
DistributionSummary.Builder.distributionStatisticBufferLength(Integer bufferLength)
Statistics emanating from a distribution summary like max, percentiles, and histogram counts decay over time to
give greater weight to recent samples (exception: histogram counts are cumulative for those systems that expect cumulative
histogram buckets).
|
Timer.Builder |
Timer.Builder.distributionStatisticExpiry(Duration expiry)
Statistics emanating from a timer like max, percentiles, and histogram counts decay over time to
give greater weight to recent samples (exception: histogram counts are cumulative for those systems that expect cumulative
histogram buckets).
|
DistributionSummary.Builder |
DistributionSummary.Builder.distributionStatisticExpiry(Duration expiry)
Statistics emanating from a distribution summary like max, percentiles, and histogram counts decay over time to
give greater weight to recent samples (exception: histogram counts are cumulative for those systems that expect cumulative
histogram buckets).
|
boolean |
Tags.equals(Object obj) |
boolean |
Meter.Id.equals(Object o) |
boolean |
ImmutableTag.equals(Object o) |
boolean |
AbstractTimer.equals(Object o) |
boolean |
AbstractDistributionSummary.equals(Object o) |
<T> T |
MeterRegistry.gauge(String name,
Iterable<Tag> tags,
T obj,
ToDoubleFunction<T> valueFunction)
Register a gauge that reports the value of the object after the function
valueFunction is applied. |
Timer.Builder |
Timer.Builder.maximumExpectedValue(Duration max)
Sets the maximum value that this timer is expected to observe.
|
DistributionSummary.Builder |
DistributionSummary.Builder.maximumExpectedValue(Long max)
Sets the maximum value that this distribution summary is expected to observe.
|
Timer.Builder |
Timer.Builder.minimumExpectedValue(Duration min)
Sets the minimum value that this timer is expected to observe.
|
DistributionSummary.Builder |
DistributionSummary.Builder.minimumExpectedValue(Long min)
Sets the minimum value that this distribution summary is expected to observe.
|
protected abstract <T> Gauge |
MeterRegistry.newGauge(Meter.Id id,
T obj,
ToDoubleFunction<T> valueFunction)
Build a new gauge to be added to the registry.
|
protected <T> TimeGauge |
MeterRegistry.newTimeGauge(Meter.Id id,
T obj,
TimeUnit valueFunctionUnit,
ToDoubleFunction<T> valueFunction)
Build a new time gauge to be added to the registry.
|
Timer.Builder |
Timer.Builder.pauseDetector(PauseDetector pauseDetector)
Sets the pause detector implementation to use for this timer.
|
Timer.Builder |
Timer.Builder.percentilePrecision(Integer digitsOfPrecision)
Determines the number of digits of precision to maintain on the dynamic range histogram used to compute
percentile approximations.
|
DistributionSummary.Builder |
DistributionSummary.Builder.percentilePrecision(Integer digitsOfPrecision)
Determines the number of digits of precision to maintain on the dynamic range histogram used to compute
percentile approximations.
|
Timer.Builder |
Timer.Builder.publishPercentileHistogram(Boolean enabled)
Adds histogram buckets used to generate aggregable percentile approximations in monitoring
systems that have query facilities to do so (e.g.
|
DistributionSummary.Builder |
DistributionSummary.Builder.publishPercentileHistogram(Boolean enabled)
Adds histogram buckets used to generate aggregable percentile approximations in monitoring
systems that have query facilities to do so (e.g.
|
Timer.Builder |
Timer.Builder.publishPercentiles(double... percentiles)
Produces an additional time series for each requested percentile.
|
DistributionSummary.Builder |
DistributionSummary.Builder.publishPercentiles(double... percentiles)
Produces an additional time series for each requested percentile.
|
Timer.Builder |
Timer.Builder.sla(Duration... sla)
Publish at a minimum a histogram containing your defined SLA boundaries.
|
DistributionSummary.Builder |
DistributionSummary.Builder.sla(long... sla)
Publish at a minimum a histogram containing your defined SLA boundaries.
|
Meter.Id |
Meter.Id.withBaseUnit(String newBaseUnit)
Generate a new id with a different base unit.
|
Constructor and Description |
---|
Id(String name,
Tags tags,
String baseUnit,
String description,
Meter.Type type) |
Id(String name,
Tags tags,
String baseUnit,
String description,
Meter.Type type) |
Modifier and Type | Method and Description |
---|---|
protected abstract Long |
CacheMeterBinder.evictionCount() |
protected Long |
HazelcastCacheMetrics.evictionCount() |
protected abstract Long |
CacheMeterBinder.missCount() |
protected abstract Long |
CacheMeterBinder.size()
MOST cache implementations provide a means of retrieving the number of entries.
|
Constructor and Description |
---|
ExecutorServiceMetrics(ExecutorService executorService,
String executorServiceName,
Iterable<Tag> tags) |
Modifier and Type | Method and Description |
---|---|
static void |
TomcatMetrics.monitor(MeterRegistry registry,
org.apache.catalina.Manager manager,
Iterable<Tag> tags) |
static void |
TomcatMetrics.monitor(MeterRegistry registry,
org.apache.catalina.Manager manager,
String... tags) |
Constructor and Description |
---|
TomcatMetrics(org.apache.catalina.Manager manager,
Iterable<Tag> tags) |
TomcatMetrics(org.apache.catalina.Manager manager,
Iterable<Tag> tags,
MBeanServer mBeanServer) |
Modifier and Type | Method and Description |
---|---|
protected <T> Gauge |
CompositeMeterRegistry.newGauge(Meter.Id id,
T obj,
ToDoubleFunction<T> valueFunction) |
protected <T> TimeGauge |
CompositeMeterRegistry.newTimeGauge(Meter.Id id,
T obj,
TimeUnit valueFunctionUnit,
ToDoubleFunction<T> valueFunction) |
Modifier and Type | Method and Description |
---|---|
default DistributionStatisticConfig |
MeterFilter.configure(Meter.Id id,
DistributionStatisticConfig config)
This is only called when filtering new timers and distribution summaries (i.e.
|
String |
MeterRegistryConfig.get(String key)
Get the value associated with a key.
|
Modifier and Type | Method and Description |
---|---|
String |
NamingConvention.name(String name,
Meter.Type type,
String baseUnit) |
Modifier and Type | Method and Description |
---|---|
Integer |
DistributionStatisticConfig.getBufferLength()
Statistics like max, percentiles, and histogram counts decay over time to give greater weight to recent
samples (exception: histogram counts are cumulative for those systems that expect cumulative
histogram buckets).
|
Duration |
DistributionStatisticConfig.getExpiry()
Statistics like max, percentiles, and histogram counts decay over time to give greater weight to recent
samples (exception: histogram counts are cumulative for those systems that expect cumulative
histogram buckets).
|
Long |
DistributionStatisticConfig.getMaximumExpectedValue()
The maximum value that the meter is expected to observe.
|
Long |
DistributionStatisticConfig.getMinimumExpectedValue()
The minimum value that the meter is expected to observe.
|
Integer |
DistributionStatisticConfig.getPercentilePrecision()
Determines the number of digits of precision to maintain on the dynamic range histogram used to compute
percentile approximations.
|
double[] |
DistributionStatisticConfig.getPercentiles()
Produces an additional time series for each requested percentile.
|
long[] |
DistributionStatisticConfig.getSlaBoundaries()
Publish at a minimum a histogram containing your defined SLA boundaries.
|
Boolean |
DistributionStatisticConfig.isPercentileHistogram()
Adds histogram buckets used to generate aggregable percentile approximations in monitoring
systems that have query facilities to do so (e.g.
|
Modifier and Type | Method and Description |
---|---|
DistributionStatisticConfig.Builder |
DistributionStatisticConfig.Builder.bufferLength(Integer bufferLength)
Statistics like max, percentiles, and histogram counts decay over time to give greater weight to recent
samples (exception: histogram counts are cumulative for those systems that expect cumulative
histogram buckets).
|
DistributionStatisticConfig.Builder |
DistributionStatisticConfig.Builder.expiry(Duration expiry)
Statistics like max, percentiles, and histogram counts decay over time to give greater weight to recent
samples (exception: histogram counts are cumulative for those systems that expect cumulative
histogram buckets).
|
DistributionStatisticConfig.Builder |
DistributionStatisticConfig.Builder.maximumExpectedValue(Long max)
The maximum value that the meter is expected to observe.
|
DistributionStatisticConfig.Builder |
DistributionStatisticConfig.Builder.minimumExpectedValue(Long min)
The minimum value that the meter is expected to observe.
|
DistributionStatisticConfig.Builder |
DistributionStatisticConfig.Builder.percentilePrecision(Integer digitsOfPrecision)
Determines the number of digits of precision to maintain on the dynamic range histogram used to compute
percentile approximations.
|
DistributionStatisticConfig.Builder |
DistributionStatisticConfig.Builder.percentiles(double... percentiles)
Produces an additional time series for each requested percentile.
|
DistributionStatisticConfig.Builder |
DistributionStatisticConfig.Builder.percentilesHistogram(Boolean enabled) |
DistributionStatisticConfig.Builder |
DistributionStatisticConfig.Builder.sla(long... sla)
Publish at a minimum a histogram containing your defined SLA boundaries.
|
Constructor and Description |
---|
HistogramSnapshot(long count,
double total,
double max,
ValueAtPercentile[] percentileValues,
CountAtBucket[] histogramCounts,
BiConsumer<PrintStream,Double> summaryOutput) |
HistogramSnapshot(long count,
double total,
double max,
ValueAtPercentile[] percentileValues,
CountAtBucket[] histogramCounts,
BiConsumer<PrintStream,Double> summaryOutput) |
HistogramSnapshot(long count,
double total,
double max,
ValueAtPercentile[] percentileValues,
CountAtBucket[] histogramCounts,
BiConsumer<PrintStream,Double> summaryOutput) |
Modifier and Type | Method and Description |
---|---|
boolean |
DropwizardDistributionSummary.equals(Object o) |
protected <T> Gauge |
DropwizardMeterRegistry.newGauge(Meter.Id id,
T obj,
ToDoubleFunction<T> valueFunction) |
Constructor and Description |
---|
DefaultGauge(Meter.Id id,
T obj,
ToDoubleFunction<T> value) |
Modifier and Type | Method and Description |
---|---|
Counter |
Search.counter() |
FunctionCounter |
Search.functionCounter() |
FunctionTimer |
Search.functionTimer() |
Gauge |
Search.gauge() |
LongTaskTimer |
Search.longTaskTimer() |
Meter |
Search.meter() |
DistributionSummary |
Search.summary() |
TimeGauge |
Search.timeGauge() |
Timer |
Search.timer() |
Modifier and Type | Method and Description |
---|---|
Search |
Search.name(Predicate<String> nameMatches)
Meter contains a tag matching the name predicate.
|
Modifier and Type | Method and Description |
---|---|
protected <T> Gauge |
SimpleMeterRegistry.newGauge(Meter.Id id,
T obj,
ToDoubleFunction<T> valueFunction) |
Modifier and Type | Method and Description |
---|---|
protected <T> Gauge |
StepMeterRegistry.newGauge(Meter.Id id,
T obj,
ToDoubleFunction<T> valueFunction) |
Modifier and Type | Method and Description |
---|---|
static boolean |
MeterEquivalence.equals(Meter m1,
Object o) |
static boolean |
MeterEquivalence.equals(Meter m1,
Object o) |
static String |
StringEscapeUtils.escapeJson(String string)
Modified from the quote method in:
https://github.com/codehaus/jettison/blob/master/src/main/java/org/codehaus/jettison/json/JSONObject.java
|
static boolean |
StringUtils.isBlank(String string)
Check if the String is null or has only whitespaces.
|
static boolean |
StringUtils.isEmpty(String string)
Check if the String is null or empty.
|
static boolean |
StringUtils.isNotBlank(String string)
Check if the String has any non-whitespace character.
|
static boolean |
StringUtils.isNotEmpty(String string)
Check if the String has any character.
|
static String |
IOUtils.toString(InputStream inputStream)
|
static String |
IOUtils.toString(InputStream inputStream,
Charset charset)
|
Modifier and Type | Method and Description |
---|---|
HttpSender.Request.Builder |
HttpSender.Request.Builder.withBasicAuthentication(String user,
String password)
If user and password are non-empty, set basic authentication on the request.
|
HttpSender.Request.Builder |
HttpSender.Request.Builder.withBasicAuthentication(String user,
String password)
If user and password are non-empty, set basic authentication on the request.
|
Constructor and Description |
---|
Response(int code,
String body) |
Copyright © 2019. All rights reserved.