Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename DocumentedObservation to ObservationDocumentation #3430

Merged
merged 2 commits into from
Sep 27, 2022

Conversation

shakuzen
Copy link
Member

@shakuzen shakuzen commented Sep 26, 2022

The previous naming implied that it was a type of Observation but it is rather the documentation for observations. The goal of this new naming is to make that more clear. It also improves consistency with the naming of most of the methods, though some inconsistency remains, which we can address in a follow-up change.

For the same reasons and consistency, this also renames DocumentedMeter to MeterDocumentation.

This will require an update to instrumentation using DocumentedObservation, which should be achievable with a find-and-replace search of the source code.

The micrometer-docs-generator will need to be updated as well.

@shakuzen shakuzen added this to the 1.10.0-RC1 milestone Sep 26, 2022
@shakuzen shakuzen added the module: micrometer-core An issue that is related to our core module label Sep 26, 2022
The previous naming implied that it was a type of `Observation` but it is rather the documentation for observations. The goal of this new naming is to make that more clear. It also improves consistency with the naming of most of the methods, though some inconsistency remains, which we can address in a follow-up change.
Similar to the renaming of DocumentedObservation to ObservationDocumentation. This helps avoid confusion that this is not a type of Meter but rather documentation for a Meter.
@shakuzen shakuzen force-pushed the observationdocumentation branch from b3ab1f5 to bd41f3d Compare September 27, 2022 03:55
@sonatype-lift
Copy link
Contributor

sonatype-lift bot commented Sep 27, 2022

⚠️ 10 God Classes were detected by Lift in this project. Visit the Lift web console for more details.

@shakuzen shakuzen merged commit a567314 into micrometer-metrics:main Sep 27, 2022
@shakuzen shakuzen deleted the observationdocumentation branch September 27, 2022 06:39
shakuzen added a commit to shakuzen/tracing that referenced this pull request Sep 27, 2022
This aligns the naming with the recent change in the micrometer repository for ObservationDocumentation and MeterDocumentation.

See micrometer-metrics/micrometer#3430
shakuzen added a commit to shakuzen/tracing that referenced this pull request Sep 27, 2022
This aligns the naming with the recent change in the micrometer repository for ObservationDocumentation and MeterDocumentation.

See micrometer-metrics/micrometer#3430
shakuzen added a commit to micrometer-metrics/tracing that referenced this pull request Sep 27, 2022
This aligns the naming with the recent change in the micrometer repository for ObservationDocumentation and MeterDocumentation.

See micrometer-metrics/micrometer#3430
shakuzen added a commit to micrometer-metrics/micrometer-docs-generator that referenced this pull request Sep 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants