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

Metric API #1181

Merged
merged 3 commits into from Mar 9, 2020
Merged

Metric API #1181

merged 3 commits into from Mar 9, 2020

Conversation

velo
Copy link
Member

@velo velo commented Feb 28, 2020

Provide a first-class Metrics API that users can tap into to gain insight into the request/response lifecycle.

My plan is:
Extend the capabilities to Async and Reactive (before 10.8 release)
Add metrics support for OpenTracing

After this, I feel we are in a good place to cut 10.8 and being 11 branch

@velo velo requested a review from kdavisk6 February 28, 2020 20:41
Copy link
Member

@kdavisk6 kdavisk6 left a comment

Choose a reason for hiding this comment

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

@velo

I need more context here for some of the components.

core/src/main/java/feign/Capability.java Show resolved Hide resolved
core/src/main/java/feign/Capability.java Outdated Show resolved Hide resolved
</parent>
<artifactId>feign-metrics5</artifactId>
<name>Feign Metrics5</name>
<description>Feign Dropwizard Metrics 5</description>
Copy link
Member

Choose a reason for hiding this comment

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

I'd like to suggest an alternative, Micrometer. It can wrap Dropwizard and will allow this to be integrated directly into Spring Boot/Cloud, since Micrometer is their preferred metrics collector.

Copy link
Member Author

Choose a reason for hiding this comment

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

My plan is to add that one later, added metrics 5 first cause is the one I'm using and gets values for me faster

Copy link
Member

Choose a reason for hiding this comment

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

They both do the same thing. If you want to have multiple implementations I’d like to suggest that we rename this to metrics-dropwizard

@kdavisk6 kdavisk6 added enhancement For recommending new capabilities feedback provided Feedback has been provided to the author labels Feb 28, 2020
@velo velo requested a review from kdavisk6 March 3, 2020 20:23
@velo velo added ready to merge Will be merged if no other member ask for changes and removed feedback provided Feedback has been provided to the author labels Mar 4, 2020
@velo velo merged commit be8f30d into OpenFeign:master Mar 9, 2020
@velo velo deleted the metrics5 branch March 9, 2020 09:09
@velo velo mentioned this pull request Mar 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement For recommending new capabilities ready to merge Will be merged if no other member ask for changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants