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

Report consumer sender workload. #1100

Merged
merged 11 commits into from Jan 28, 2020

Conversation

jewertow
Copy link
Contributor

@jewertow jewertow commented Sep 13, 2019

Reporting consumer sender workload to graphite.

@jewertow jewertow changed the title WIP: Report consumer sender workload. Report consumer sender workload. Sep 30, 2019
.map(HttpDestination.class::cast)
.map(HttpDestination::getHttpExchanges)
.map(Queue::size)
.mapToInt(i -> i)
Copy link
Contributor

Choose a reason for hiding this comment

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

could be changed to mapToInt(Function::identity)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

mapToInt takes an argument of type ToIntFunction.

Copy link
Contributor

Choose a reason for hiding this comment

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

alright :)

dankraw
dankraw previously approved these changes Sep 30, 2019
dankraw
dankraw previously approved these changes Sep 30, 2019
@jewertow jewertow requested a review from dankraw October 3, 2019 05:46
@druminski druminski changed the base branch from master to develop January 27, 2020 17:54
@druminski druminski merged commit 423d453 into develop Jan 28, 2020
druminski pushed a commit that referenced this pull request Feb 20, 2020
* Create independent DI factory for each http client.
* Add wrapper Http2ClientHolder for optional http-2 jetty client.
* Add HttpClientsWorkloadReporter
* Report metrics for client http 1 and http 2
@cristaloleg cristaloleg deleted the reporting-consumer-http-clients-workload branch March 4, 2020 13:58
pwolaq pushed a commit to pwolaq/hermes that referenced this pull request Oct 15, 2020
* Create independent DI factory for each http client.
* Add wrapper Http2ClientHolder for optional http-2 jetty client.
* Add HttpClientsWorkloadReporter
* Report metrics for client http 1 and http 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants