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

Add network instrumentation events #233

Merged
merged 16 commits into from
Jan 2, 2019
Merged

Conversation

tulios
Copy link
Owner

@tulios tulios commented Dec 19, 2018

This PR makes the request timeout configurable, and it introduces network instrumentation events to all clients (producers, consumers and admin). We want to write an easy to use prometheus/statsd/datadog plugin that collects metrics directly from KafkaJS, and we want to use the instrumentation events for that. Issue #175 describes what the official client does but after some research; we concluded that it was too much work and after talking to some people using the java client they mentioned that they don't use the built-in features and have separate integrations with the same providers.

I want to measure the impact of the request queue before defining a default value and making it enabled by default.

@ianwsperber
Copy link
Contributor

ianwsperber commented Dec 19, 2018

Tests are failing with Cannot find module '../network/InstrumentationEvents' from 'instrumentationEvents.js'.

Seems like a cool feature set BTW! I'll try to add a review in the next day or so.

Copy link
Contributor

@ianwsperber ianwsperber left a comment

Choose a reason for hiding this comment

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

Nothing pops out to me, nice work 👍

@tulios tulios merged commit 23683ca into master Jan 2, 2019
@tulios tulios deleted the add-network-instrumentation-events branch January 18, 2019 14:42
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.

3 participants