Skip to content

Commit

Permalink
README: updated collectd_converters definition example to reflect the…
Browse files Browse the repository at this point in the history
… fact

    that it expects a dict
  • Loading branch information
mk-fg authored and davisp committed Nov 17, 2011
1 parent 084b986 commit bc0d3dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ An example builtin converter looks like such::
def __call__(self, sample):
return ["memory", sample["type_instance"]]

collectd_converters = [MemoryConverter()]
collectd_converters = {"memory": MemoryConverter()}

Collectors also have a notion of priority in order to resolve
conflicts. This is merely a property on the callable named
Expand Down

0 comments on commit bc0d3dd

Please sign in to comment.