Completed
Pull Request — master (#412)
by Edward
01:52
created

LibratoSubmitCounter   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 3
Duplicated Lines 0 %
Metric Value
dl 0
loc 3
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A run() 0 2 1
1
from lib import action
2
3
class LibratoSubmitCounter(action.LibratoBaseAction):
4
    def run(self, name, value, source):
5
        self.librato.submit(name, value, type='counter', source=source)
6