@@ 81-92 (lines=12) @@ | ||
78 | data = {'host': self.hostname, 'service': name + " " + columns[i], 'metric': points[i]} |
|
79 | logger.debug(data) |
|
80 | try: |
|
81 | self.client.send(data) |
|
82 | except Exception as e: |
|
83 | logger.error("Cannot export stats to Riemann (%s)" % e) |
|
84 |
@@ 101-113 (lines=13) @@ | ||
98 | ||
97 | ||
96 |