c258bbdd11d5d1a860ed4a6297f261618bfc9a9a,utils/munin/newsblur_browser_breakdown.py,NBMuninGraph,graph_config,#NBMuninGraph#,7
Before Change
"graph_category" : "NewsBlur",
"graph_title" : "NewsBlur Browser Breakdown",
}
servers = dict((("%s.label" % s["_id"], s["_id"]) for s in self.stats))
graph.update(servers)
return graph
def calculate_metrics(self):
servers = dict((("%s" % s["_id"], s["platform"]) for s in self.stats))
After Change
@property
def graph_config(self):
graph = {
"graph_category" : "NewsBlur",
"graph_title" : "NewsBlur Browser Breakdown",
}
stats = self.stats
graph.update(dict((("%s.label" % s["_id"], s["_id"]) for s in stats)))
graph.update(dict((("%s.draw" % s["_id"], "LINE1") for s in stats)))
return graph
def calculate_metrics(self):
servers = dict((("%s" % s["_id"], s["platform"]) for s in self.stats))
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 12
Instances
Project Name: samuelclay/NewsBlur
Commit Name: c258bbdd11d5d1a860ed4a6297f261618bfc9a9a
Time: 2012-09-27
Author: samuel@ofbrooklyn.com
File Name: utils/munin/newsblur_browser_breakdown.py
Class Name: NBMuninGraph
Method Name: graph_config
Project Name: samuelclay/NewsBlur
Commit Name: c258bbdd11d5d1a860ed4a6297f261618bfc9a9a
Time: 2012-09-27
Author: samuel@ofbrooklyn.com
File Name: utils/munin/newsblur_browser_breakdown.py
Class Name: NBMuninGraph
Method Name: graph_config
Project Name: samuelclay/NewsBlur
Commit Name: c258bbdd11d5d1a860ed4a6297f261618bfc9a9a
Time: 2012-09-27
Author: samuel@ofbrooklyn.com
File Name: utils/munin/newsblur_paths.py
Class Name: NBMuninGraph
Method Name: graph_config
Project Name: samuelclay/NewsBlur
Commit Name: c258bbdd11d5d1a860ed4a6297f261618bfc9a9a
Time: 2012-09-27
Author: samuel@ofbrooklyn.com
File Name: utils/munin/newsblur_tasks_servers.py
Class Name: NBMuninGraph
Method Name: graph_config