-
Notifications
You must be signed in to change notification settings - Fork 54
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
kafka.log.partition.size metric #267
Comments
So, in order to collect it, you need a custom conf (which is actually based on JMX). See https://github.com/DataDog/integrations-core/blob/master/kafka/datadog_checks/kafka/data/conf.yaml.example This is the conf to add. The order of the parameters in
By adding that we may hit the default 350 JMX metrics limit though. Feel free to add that to the doc (I could also create a PR) or close this issue. |
It would be super awesome if this was part of the documentation. I just spent about an hour feeling like I was crazy because I didn't have this metric and there was no indication that I wouldn't by default. |
Sorry about that - I forgot that it's a non-default because our monitoring config was setup so long ago, but I'll take note to document this. |
Is it possible to gather just topics sizes without breakdown by partitions? It will be very helpful to just monitor topics sizes and not to hit 350 metrics limit. |
Unfortunately topicmappr will need the per-partition sizes since it's making placement decisions at the partition level. FWIW, the metrics input that it uses for this is formatted in a standardized way that can be sourced from any input as long as it follows the format. See the 3p implementations of https://github.com/DataDog/kafka-kit/tree/master/cmd/metricsfetcher. For reasons other than per-host metrics limits, I've thought about the idea of having an agent/script that's gathering the partition sizes for me in a way other than summing the |
Hello,
I was looking in the doc, issues and internet, no way to find how to push
kafka.log.partition.size
metric. It's not part of the default of the default metrics https://docs.datadoghq.com/integrations/kafka/.Do I need a custom conf or a custom check? thanks!
The text was updated successfully, but these errors were encountered: