Skip to content

Instantly share code, notes, and snippets.

@sarwarbhuiyan
Last active February 12, 2020 19:32
Show Gist options
  • Save sarwarbhuiyan/f700e0808de9c4731e8aec510cabb8a7 to your computer and use it in GitHub Desktop.
Save sarwarbhuiyan/f700e0808de9c4731e8aec510cabb8a7 to your computer and use it in GitHub Desktop.
Kafka JMX metrics via jolokia
- module: jolokia
metricsets: ["jmx"]
period: 10s
hosts: ["localhost:8778/jolokia/"]
namespace: "metrics"
jmx.mappings:
- mbean: 'kafka.server:type=*,name=*'
attributes:
- attr: Value
field: value
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment