Package io.micrometer.opentsdb
Interface OpenTSDBConfig
- All Superinterfaces:
io.micrometer.core.instrument.config.MeterRegistryConfig,io.micrometer.core.instrument.push.PushRegistryConfig
public interface OpenTSDBConfig
extends io.micrometer.core.instrument.push.PushRegistryConfig
Configuration for
OpenTSDBMeterRegistry.- Since:
- 1.4.0
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault OpenTSDBFlavorflavor()OpenTSDB can be used as a metrics sink to different backends.default Stringpassword()default Stringprefix()Property prefix to prepend to configuration names.default Stringuri()The URI to send the metrics to.default StringuserName()default io.micrometer.core.instrument.config.validate.Validated<?>validate()Methods inherited from interface io.micrometer.core.instrument.config.MeterRegistryConfig
get, requireValidMethods inherited from interface io.micrometer.core.instrument.push.PushRegistryConfig
batchSize, connectTimeout, enabled, numThreads, readTimeout, step
-
Field Details
-
DEFAULT
Accept configuration defaults
-
-
Method Details
-
prefix
Property prefix to prepend to configuration names.- Specified by:
prefixin interfaceio.micrometer.core.instrument.config.MeterRegistryConfig- Returns:
- property prefix
-
uri
The URI to send the metrics to.- Returns:
- uri
-
userName
- Returns:
- Authenticate requests with this user. By default is
null, and the registry will not attempt to present credentials to OpenTSDB.
-
password
- Returns:
- Authenticate requests with this password. By default is
null, and the registry will not attempt to present credentials to OpenTSDB.
-
flavor
OpenTSDB can be used as a metrics sink to different backends. The registry can react to different flavors to ship metrics differently to guarantee the highest fidelity at their ultimate destination.- Returns:
- A flavor that influences the style of metrics shipped to OpenTSDB.
-
validate
default io.micrometer.core.instrument.config.validate.Validated<?> validate()- Specified by:
validatein interfaceio.micrometer.core.instrument.config.MeterRegistryConfig- Specified by:
validatein interfaceio.micrometer.core.instrument.push.PushRegistryConfig
-