c258bbdd11d5d1a860ed4a6297f261618bfc9a9a,utils/munin/newsblur_tasks_codes.py,NBMuninGraph,graph_config,#NBMuninGraph#,7

Before Change


            "graph_title" : "NewsBlur Task Codes",
            "graph_vlabel" : "Status codes on feed fetch",
        }
        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["feeds"]) for s in self.stats))

After Change


            "graph_title" : "NewsBlur Task Codes",
            "graph_vlabel" : "Status codes on feed fetch",
        }
        stats = self.stats
        graph.update(dict((("_%s.label" % s["_id"], s["_id"]) for s in stats)))
        graph["graph_order"] = " ".join(sorted(("_%s" % s["_id"]) for s in stats))

        return graph

    def calculate_metrics(self):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 14

Instances


Project Name: samuelclay/NewsBlur
Commit Name: c258bbdd11d5d1a860ed4a6297f261618bfc9a9a
Time: 2012-09-27
Author: samuel@ofbrooklyn.com
File Name: utils/munin/newsblur_tasks_codes.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_codes.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


Project Name: samuelclay/NewsBlur
Commit Name: c258bbdd11d5d1a860ed4a6297f261618bfc9a9a
Time: 2012-09-27
Author: samuel@ofbrooklyn.com
File Name: utils/munin/newsblur_tasks_times.py
Class Name: NBMuninGraph
Method Name: graph_config