Created
March 4, 2014 21:10
-
-
Save davidbirdsong/9355702 to your computer and use it in GitHub Desktop.
create jmx json file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {% set config = dict(servers=list()) %} | |
| {% for kserver in groups['kafka_' + coloc] %} | |
| {% for query in kafkagraphitequeries %} | |
| {% set q = dict(host=kserver, port= kafka[coloc].jmx_port, outputWriters=kafkagraphiteoutput) %} | |
| {% do config.servers.append(q) %} | |
| {% endfor %} | |
| {% endfor %} | |
| {% config|to_nice_json %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment