This file contains 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
[ | |
{ | |
"target": [ | |
"color(alias(sumSeries(carbon.agents.GLaDOS-graphite-a.cache.size, carbon.agents.GLaDOS-graphite-b.cache.size, carbon.agents.GLaDOS-graphite-c.cache.size, carbon.agents.GLaDOS-graphite-d.cache.size, carbon.agents.GLaDOS-graphite-backfill.cache.size),\"Total cache size\"),\"692747F\")", | |
"color(alias(sumSeries(carbon.agents.GLaDOS-graphite-a.committedPoints, carbon.agents.GLaDOS-graphite-b.committedPoints, carbon.agents.GLaDOS-graphite-c.committedPoints, carbon.agents.GLaDOS-graphite-d.committedPoints, carbon.agents.GLaDOS-graphite-backfill.committedPoints),\"Total committed points\"),\"A64E5F\")", | |
"color(alias(dashed(sumSeries(carbon.agents.GLaDOS-graphite-backfill.metricsReceived, carbon.relays.GLaDOS-graphite-a.metricsReceived), 5),\"Dashed Total metrics received\"),\"FFCBA6\")" | |
], | |
"fgcolor": "FFCBA6", | |
"title": "Graphite Health", | |
"minorGridLineColor": "692747F", |
This file contains 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
How to highlighting misspellings/rare-words/capitalization-errors in VIM | |
Enable/Disable | |
:set spell spelllang=en_us | |
:set nospell | |
Commands: | |
]s Move to next misspelled word | |
[s Move to previous misspelled word | |
z= Suggest spelling correction |
This file contains 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
diff --git a/docker/graphite/populators/chi2.py b/docker/graphite/populators/chi2.py | |
index a759302..7bf0e4e 100755 | |
--- a/docker/graphite/populators/chi2.py | |
+++ b/docker/graphite/populators/chi2.py | |
@@ -43,8 +43,8 @@ def main(args): | |
rrd_string = '{system}.chi2.{band}.{igp} {value} {waas_seconds}'.format(**chi2) | |
if args['--debug']: | |
print(rrd_string) | |
- else: | |
- rrd.write(rrd_string) |
This file contains 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
I develop using vim and an ipython shell. | |
To test module changes to module foo, I type the following in the python shell: | |
import sys | |
reload(sys.modules['foo']) | |
import foo |