Class AutoTimeProperties
java.lang.Object
org.springframework.boot.actuate.autoconfigure.metrics.AutoTimeProperties
Nested configuration properties for items that are automatically timed.
- Since:
- 2.2.0
- Author:
- Tadaya Tsuyukubo, Stephane Nicoll, Phillip Webb
-
Constructor Summary
ConstructorDescriptionCreate an instance that automatically time requests with no percentiles. -
Method Summary
Modifier and TypeMethodDescriptiondouble[]
boolean
boolean
void
setEnabled
(boolean enabled) void
setPercentiles
(double[] percentiles) void
setPercentilesHistogram
(boolean percentilesHistogram)
-
Constructor Details
-
AutoTimeProperties
public AutoTimeProperties()Create an instance that automatically time requests with no percentiles.
-
-
Method Details
-
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled) -
isPercentilesHistogram
public boolean isPercentilesHistogram() -
setPercentilesHistogram
public void setPercentilesHistogram(boolean percentilesHistogram) -
getPercentiles
public double[] getPercentiles() -
setPercentiles
public void setPercentiles(double[] percentiles)
-