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

Before Change


            "graph_vlabel" : "// of fetches / server",
            "total.label": "total",
        }
        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



    @property
    def graph_config(self):
        graph = {
            "graph_category" : "NewsBlur",
            "graph_title" : "NewsBlur Task Server Fetches",
            "graph_vlabel" : "// of fetches / server",
            "total.label": "total",
        }
        stats = self.stats
        graph.update(dict((("%s.label" % s["_id"], s["_id"]) for s in stats)))
        graph.update(dict((("%s.draw" % s["_id"], "LINESTACK") for s in stats)))
        graph["graph_order"] = " ".join(sorted(s["_id"] for s in stats))
        return graph

    def calculate_metrics(self):
        servers = dict((("%s" % s["_id"], s["feeds"]) for s in self.stats))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 13

Instances


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


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