Question: Hi! Is the echo hanging normal? The echo hangs and no metrics on graphite echo "test.bash.stats 42 date +%s " | nc graphite.example.com 2003 I have been trying to send metrics manully

Asked By
dnarahari
Asked At
2018-01-09 18:17:42

Found 8 possible answers.

User Answered At Possible Answer
leitzler 2018-01-11 11:36:19 @dgryski / @civil would it make sense to add a feature to go-carbon (carbonserver part) that makes it possible to force a file list update? I.e. expose https://github.com/lomik/go-carbon/blob/master/carbonserver/carbonserver.go#L1750 to an endpoint or something? I have 5 minute set in the configuration, but sometimes when I restart services I would like to see the metrics right away (new files are created).
civil 2018-01-11 12:38:59 yes, why not :slightly_smiling_face:
leitzler 2018-01-12 22:34:57 Something like this? https://github.com/lomik/go-carbon/pull/219 At least such an endpoint would help me a lot in my daily use of go-carbon. Can't say that I'm perfectly satisfied with the returned HTTP codes, but I think it's a nice "good enough" way to know if the scan can be expected to be performed.
dgryski 2018-01-17 16:18:57 @civil How's your grpc work going? https://blog.twitch.tv/twirp-a-sweet-new-rpc-framework-for-go-5f2febbf35f :D
civil 2018-01-17 16:19:27 I’ve commited parts I’ve done to the separate branch of carbonzipper, but it doesn’t work yet (like at all) http://www.jsonrpc.org/specification ? btw, what’s the difference between Twirp and JSON-RPC
dgryski 2018-01-17 16:24:01 No idea, ask #twirp
civil 2018-01-17 16:24:04 :slightly_smiling_face: will do that later :slightly_smiling_face:
dgryski 2018-03-01 16:28:53 https://twitter.com/deniszh/status/969230403881054211

Related Questions