Package io.micrometer.appoptics
Interface AppOpticsConfig
-
- All Superinterfaces:
io.micrometer.core.instrument.config.MeterRegistryConfig,io.micrometer.core.instrument.push.PushRegistryConfig,io.micrometer.core.instrument.step.StepRegistryConfig
public interface AppOpticsConfig extends io.micrometer.core.instrument.step.StepRegistryConfigConfiguration forAppOpticsMeterRegistry.- Since:
- 1.1.0
-
-
Field Summary
Fields Modifier and Type Field Description static intDEFAULT_BATCH_SIZEstatic intMAX_BATCH_SIZE
-
Method Summary
All Methods Instance Methods Default Methods Deprecated Methods Modifier and Type Method Description default java.lang.StringapiToken()default intbatchSize()default java.time.DurationconnectTimeout()Deprecated.default booleanfloorTimes()default java.lang.StringhostTag()default java.lang.Stringprefix()default java.lang.Stringuri()
-
-
-
Field Detail
-
MAX_BATCH_SIZE
static final int MAX_BATCH_SIZE
- See Also:
- Constant Field Values
-
DEFAULT_BATCH_SIZE
static final int DEFAULT_BATCH_SIZE
- See Also:
- Constant Field Values
-
-
Method Detail
-
prefix
default java.lang.String prefix()
- Specified by:
prefixin interfaceio.micrometer.core.instrument.config.MeterRegistryConfig
-
apiToken
default java.lang.String apiToken()
- Returns:
- AppOptics API token
-
hostTag
@Nullable default java.lang.String hostTag()
- Returns:
- The tag that will be mapped to @host when shipping metrics to AppOptics.
-
uri
default java.lang.String uri()
- Returns:
- the URI to ship metrics to
-
floorTimes
default boolean floorTimes()
- Returns:
- whether or not to ship a floored time - floors time to the multiple of the
PushRegistryConfig.step()
-
batchSize
default int batchSize()
- Specified by:
batchSizein interfaceio.micrometer.core.instrument.push.PushRegistryConfig
-
connectTimeout
@Deprecated default java.time.Duration connectTimeout()
Deprecated.- Specified by:
connectTimeoutin interfaceio.micrometer.core.instrument.push.PushRegistryConfig
-
-