-
Notifications
You must be signed in to change notification settings - Fork 1k
1.10 Migration Guide
The 2.0 milestones releases have been superseded by the 1.10 milestones.
Features that were being worked on in the 2.0 milestones will be released instead as 1.10 milestones and eventually a GA version. The 1.10.0-M1 milestone release follows the 2.0.0-M3 milestone.
There is a new module that contains an Observation
API for instrumenting code. micrometer-core
provides an integration that produces Timer
metrics from this Observation
instrumentation, and micrometer-tracing
provides an integration to produce spans from that instrumentation. You can make your own integrations with this API, and instrument your code with this API.
See the Migration to the Observation API wiki.
We've moved TagKey
and internal utilities from micrometer-observation
to a new module called micrometer-commons
. You'll need to update your imports like the following
Before : io.micrometer.observation.docs.TagKey
, after: io.micrometer.common.docs.KeyName
- Classes
-
TagsProvider
- `After KeyValueProvider
-
TagsProviderAware
- After
KeyValueProviderAware
- After
-
CompositeTagsProvider
- After
CompositeKeyValueProvider
- After
-
GlobalTagsProvider
- After
GlobalKeyValueProvider
- After
-
HttpTagsProvider
- After
HttpKeyValueProvider
- After
-
HttpTags
- After
HttpKeyValues
- After
-
- Methods
-
TagsProvider
- Before
Tags getLowCardinalityTags()
- After:
KeyValues getLowCardinalityKeyValues()
- Before
-
Observation
-
lowCardinalityTag
- After lowCardinalityKeyValue
-
highCardinalityTag
- After
highCardinalityKeyValue
- After
-
tagsProvider
- After
keyValuesProvider
- After
-
-
Observation.Context
-
addLowCardinalityTag
- After
addLowCardinalityKeyValue
- After
-
addHighCardinalityTag
- After
addHighCardinalityKeyValue
- After
-
addLowCardinalityTags
- After
addLowCardinalityKeyValues
- After
-
addHighCardinalityTags
- After
addHighCardinalityKeyValues
- After
-
getLowCardinalityTags
- After
getLowCardinalityKeyValues
- After
-
getHighCardinalityTags
- After
getHighCardinalityKeyValues
- After
-
getAllTags
- After
getAllKeyValues
- After
-
-
TagsProviderAware
-
setTagsProvider
- After
setKeyValueProvider
- After
-
-
CompositeTagsProvider
-
getTagsProviders
- After
getKeyValueProviders
- After
-
-
ObservationRegistry.ObservationConfig
-
getTagsProviders
- After
getKeyValueProviders
- After
-
tagsProvider
- After
keyValuesProvider
- After
-
-
HttpTagsProvider
-
getLowCardinalityTags
- After
getLowCardinalityKeyValues
- After
-
getHighCardinalityTags
- After
getHighCardinalityKeyValues
- After
-
-
ObservationContextAssert
- All methods containing
Tag
will be renamed toKeyValue
- All methods containing
Tags
will be renamed toKeyValues
- All methods containing
-
See https://github.com/micrometer-metrics/tracing and the corresponding reference documentation.