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

Before Change


            "graph_title" : "NewsBlur Task Server Times",
            "graph_vlabel" : "Feed fetch time / server",
        }
        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["total"]) for s in self.stats))

After Change



    @property
    def graph_config(self):
        graph = {
            "graph_category" : "NewsBlur",
            "graph_title" : "NewsBlur Task Server Times",
            "graph_vlabel" : "Feed fetch time / server",
        }

        stats = self.stats
        graph["graph_order"] = " ".join(sorted(s["_id"] for s in 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):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 15

Instances


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


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_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_tasks_times.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