Created
July 18, 2013 11:56
-
-
Save zehome/6028730 to your computer and use it in GitHub Desktop.
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
--- a/app.py | |
+++ b/app.py | |
@@ -436,7 +436,7 @@ def build_graphs_from_targets(targets, query={}): | |
graph_config['targets'].append(targets[0]) | |
else: | |
t = { | |
- 'target': 'sumSeries(%s)' % (','.join([t['graphite_metric'] for t in targets])), | |
+ 'target': 'sumSeries(%s)' % (','.join([t['target'] for t in targets])), | |
'graphite_metric': [t['graphite_metric'] for t in targets], | |
'variables': targets[0]['variables'] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment