Skip to content

Commit

Permalink
collectd: adjusted priority for default converters to be lower than d…
Browse files Browse the repository at this point in the history
…efault

    priority for new ones (zero)
  • Loading branch information
mk-fg authored and davisp committed Nov 17, 2011
1 parent 8ebce32 commit c76b0a3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bucky/collectd.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@


class CPUConverter(object):
PRIORITY = 0
PRIORITY = -1
def __call__(self, sample):
return ["cpu", sample["plugin_instance"], sample["type_instance"]]


class InterfaceConverter(object):
PRIORITY = 0
PRIORITY = -1
def __call__(self, sample):
return [
"interface",
Expand All @@ -42,7 +42,7 @@ def __call__(self, sample):


class MemoryConverter(object):
PRIORITY = 0
PRIORITY = -1
def __call__(self, sample):
return ["memory", sample["type_instance"]]

Expand Down

0 comments on commit c76b0a3

Please sign in to comment.