Interface DynatraceConfig
- All Superinterfaces:
io.micrometer.core.instrument.config.MeterRegistryConfig, io.micrometer.core.instrument.push.PushRegistryConfig, io.micrometer.core.instrument.step.StepRegistryConfig
public interface DynatraceConfig
extends io.micrometer.core.instrument.step.StepRegistryConfig
Configuration for
DynatraceMeterRegistry- Since:
- 1.1.0
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault StringapiToken()default DynatraceApiVersionReturn the version of the target Dynatrace API.Return default dimensions.default StringdeviceId()Deprecated.The Dynatrace v1 API is deprecated.default booleanReturn whether to enrich with Dynatrace metadata.default booleanToggle whether to export meter metadata (unit and description) to the Dynatrace backend for the V2 version of this exporter.default @Nullable Stringgroup()Deprecated.The Dynatrace v1 API is deprecated.default StringReturn metric key prefix.default Stringprefix()default StringDeprecated.The Dynatrace v1 API is deprecated.default Stringuri()default booleanReturn whether to fall back to the built-in micrometer instruments for Timer and DistributionSummary.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
-
-
Method Details
-
prefix
- Specified by:
prefixin interfaceio.micrometer.core.instrument.config.MeterRegistryConfig
-
apiToken
-
uri
-
deviceId
Deprecated.The Dynatrace v1 API is deprecated. It will be removed in the future. Please use the v2 API instead. -
technologyType
Deprecated.The Dynatrace v1 API is deprecated. It will be removed in the future. Please use the v2 API instead. -
group
Deprecated.The Dynatrace v1 API is deprecated. It will be removed in the future. Please use the v2 API instead.Return device group name.- Returns:
- device group name
- Since:
- 1.2.0
-
apiVersion
Return the version of the target Dynatrace API. Defaults to v1 if not provided.- Returns:
- a
DynatraceApiVersioncontaining the version of the targeted Dynatrace API. - Since:
- 1.8.0
-
metricKeyPrefix
-
defaultDimensions
-
enrichWithDynatraceMetadata
default boolean enrichWithDynatraceMetadata()Return whether to enrich with Dynatrace metadata. Dynatrace metadata is provided by the Dynatrace OneAgent or Dynatrace Kubernetes Operator and helps put metrics emitted via the Micrometer exporter in context more easily.- Returns:
- whether to enrich with Dynatrace metadata
- Since:
- 1.8.0
-
useDynatraceSummaryInstruments
default boolean useDynatraceSummaryInstruments()Return whether to fall back to the built-in micrometer instruments for Timer and DistributionSummary.- Returns:
trueif the resetting Dynatrace instruments should be used, andfalseif the registry should fall back to the built-in Micrometer instruments.- Since:
- 1.9.0
-
exportMeterMetadata
default boolean exportMeterMetadata()Toggle whether to export meter metadata (unit and description) to the Dynatrace backend for the V2 version of this exporter. Metadata will be exported by default from Micrometer version 1.12.0. This setting has no effect for the (legacy) Dynatrace Exporter v1. Setting this toggle tofalsehas a similar effect to registering a MeterFilter that removes unit and description from all registered meters.- Returns:
- true if metadata should be exported, false otherwise.
- Since:
- 1.12.0
-
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
-