Skip to content

Commit eac3e0c

Browse files
author
Drew Griffin
authored
Merge pull request #52 from signalfx/patched
fix memory leak and upgrade signalfx-python ver
2 parents 593209b + 319327e commit eac3e0c

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
1-
0.0.29 / 2016-11-02
1+
0.0.30 / 2017-03-25
22
===================
33

4+
* Fix memory leak related to cpu utilization metrics collection
5+
* Upgrade to latest signalfx-python v1.0.16
6+
7+
0.0.29 / 2016-11-02
8+
49
* Added python dependency six
510

611
0.0.28 / 2016-10-18

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
psutil>=3.2.2
2-
signalfx>=1.0.7
2+
signalfx>=1.0.16
33
simplejson>=3.8.1
44
six>=1.10.0

src/signalfx_metadata.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
TIMEOUT = 3
6565
POST_URLS = []
6666
DEFAULT_POST_URL = "https://ingest.signalfx.com/v1/collectd"
67-
VERSION = "0.0.29"
67+
VERSION = "0.0.30"
6868
MAX_LENGTH = 0
6969
COLLECTD_VERSION = ""
7070
LINUX_VERSION = ""
@@ -414,6 +414,8 @@ def read(self):
414414
else:
415415
debug("too old %s %s" % (t, self.metrics[t].keys()))
416416
del (self.metrics[t])
417+
else:
418+
self.metrics = {}
417419

418420

419421
class CpuUtilization(Utilization):

0 commit comments

Comments
 (0)