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

Fix/dp 165 consumer metrics #2

Merged
merged 2 commits into from Mar 16, 2020
Merged

Conversation

codybraun
Copy link

@codybraun codybraun commented Mar 16, 2020

This PR is to make Kafka consumer metrics available in Datadog so we don't have to use the weird custom ones that are managed by cs stats. (These will just be collected via JMX).

I have hand-jammed this file on prod-kafka1, so you can see these metrics appearing in datadog.

For example, go check out the kafka.consumer_lag metric with a tag equal to one of these topics:

Screen Shot 2020-03-16 at 9 04 00 AM

I don't actually know how to correctly test and deploy this change.

Copy link

@stephenmelrose stephenmelrose left a comment

Choose a reason for hiding this comment

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

Assuming cs_hostname is what we think it is, looks good to me.

@codybraun codybraun merged commit 59685a1 into master Mar 16, 2020
@codybraun codybraun deleted the fix/DP-165-consumer-metrics branch March 16, 2020 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants