Skip to content

Instantly share code, notes, and snippets.

@remh
Created August 30, 2013 19:31
Show Gist options
  • Save remh/6393442 to your computer and use it in GitHub Desktop.
Save remh/6393442 to your computer and use it in GitHub Desktop.
init_config:
instances:
- host: m1.pg
port: 7999
name: jmx_instance_m1.pg
user: username
password: password
java_bin_path: /usr/bin/java
conf:
- include:
domain: kafka
bean: kafka:type=kafka.SocketServerStats
attribute:
BytesWrittenPerSecond:
metric_type: counter
alias: sociocast.kafka.TotalBytesWritten
ProduceRequestsPerSecond:
metric_type: counter
alias: sociocast.kafka.ProduceRequestsPerSecond
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment