graphite-dev team mailing list archive
-
graphite-dev team
-
Mailing list archive
-
Message #01992
Re: [Question #183344]: Determine why a line is invalid
Question #183344 on Graphite changed:
https://answers.launchpad.net/graphite/+question/183344
Status: Open => Answered
Michael Leinartas proposed the following answer:
Hmm so it looks like previously you were counting on the newlines from
the file contents to remain in the string when sent. I'm not sure why
that didnt work, but now that you're stripping them out you need to add
newlines after each one.
Try this in the console first:
import socket
import time
sock = socket.socket()
sock.connect((CARBON_SERVER,CARBON_PORT))
sock.sendall("this.is.my.file 123 %s\n" % int(time.time()))
--
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.