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

Sets up MicrometerCapabilities #754

Closed

Conversation

marcingrzejszczak
Copy link
Contributor

@marcingrzejszczak marcingrzejszczak commented Sep 19, 2022

@marcingrzejszczak marcingrzejszczak added the enhancement New feature or request label Sep 19, 2022
@marcingrzejszczak marcingrzejszczak added this to the 4.0.0-M5 milestone Sep 19, 2022
@marcingrzejszczak marcingrzejszczak marked this pull request as draft September 19, 2022 14:54
@@ -45,7 +45,7 @@ public boolean processArgument(AnnotatedParameterContext context, Annotation ann
MethodMetadata metadata = context.getMethodMetadata();
if (metadata.queryMapIndex() == null) {
metadata.queryMapIndex(paramIndex);
metadata.queryMapEncoded(SpringQueryMap.class.cast(annotation).encoded());
// metadata.queryMapEncoded(SpringQueryMap.class.cast(annotation).encoded());
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is no longer there in 11.10-SNAPSHOT

@@ -243,8 +244,10 @@ protected static class MetricsConfiguration {

@Bean
@ConditionalOnMissingBean
public MicrometerCapability micrometerCapability(MeterRegistry meterRegistry) {
return new MicrometerCapability(meterRegistry);
public MicrometerCapability micrometerCapability(MeterRegistry meterRegistry,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm thinking if we should add flags so that users can switch back to the MicrometerCapability if they want the old behavior.

@marcingrzejszczak marcingrzejszczak force-pushed the micrometerObservationsViaFeignCapabilities branch from d280d23 to d8c9f2b Compare September 27, 2022 14:40
@OlgaMaciaszek OlgaMaciaszek modified the milestones: 4.0.0-M5, 4.0.0-RC1 Oct 18, 2022
@spencergibb spencergibb modified the milestones: 4.0.0-RC1, 4.0.0-RC3 Nov 19, 2022
@spencergibb spencergibb modified the milestones: 4.0.0-RC3, 4.0.0 Dec 13, 2022
@OlgaMaciaszek
Copy link
Collaborator

Closing as the corresponding feature has already been added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

4 participants