graphitesend
graphitesend copied to clipboard
Easy python bindings to write to Carbon ( Re-write of carbonclient)
Related to #14 . Apparently the docs were not updated four years ago? Although this issue is aged I second the latter comment. It is confusing when the docs say...
Running a `Django v1.10` app with `Python v3.4.3`, the _send method breaks. Stack trace: ``` File "/home/pablo/.virtualenvs/test/local/lib/python3.4/site-packages/graphitesend/graphitesend.py", line 291, in _send self.socket.sendall(message.encode("ascii")) AttributeError: 'bytes' object has no attribute 'encode' ......
This was stopping me from using this on a py3 only system. A simple check to see if the message is a python 3 byte object and then handle it...
Hey Guys, I'm getting a lot of exceptions at random.. The graphite listener is on the same server so network issues seem unlikely. Any idea where i should start to...
Not sure why, but probably related to #43. I'm on 0.7.0 See these sequence of commands: ``` In [1]: import requests; requests.get('https://google.com') Out[1]: In [2]: import graphitesend In [3]: import...
- DRY - Better python 3 - Cleaner API - easier to test
We publish to graphite and utilize hyphens in metric names, so appears to be a legal character. Added parameter to decide whether to replace hyphen.