{"action":"created","issue":{"url":"https://api.github.com/repos/tel/riemann-hs/issues/5","labels_url":"https://api.github.com/repos/tel/riemann-hs/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/tel/riemann-hs/issues/5/comments","events_url":"https://api.github.com/repos/tel/riemann-hs/issues/5/events","html_url":"https://github.com/tel/riemann-hs/issues/5","id":64859999,"number":5,"title":"Cannot send message to riemann","user":{"login":"abailly","id":40221,"avatar_url":"https://avatars.githubusercontent.com/u/40221?v=3","gravatar_id":"","url":"https://api.github.com/users/abailly","html_url":"https://github.com/abailly","followers_url":"https://api.github.com/users/abailly/followers","following_url":"https://api.github.com/users/abailly/following{/other_user}","gists_url":"https://api.github.com/users/abailly/gists{/gist_id}","starred_url":"https://api.github.com/users/abailly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abailly/subscriptions","organizations_url":"https://api.github.com/users/abailly/orgs","repos_url":"https://api.github.com/users/abailly/repos","events_url":"https://api.github.com/users/abailly/events{/privacy}","received_events_url":"https://api.github.com/users/abailly/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-27T22:02:33Z","updated_at":"2015-03-29T20:23:30Z","closed_at":null,"body":"Hello,\r\nI am trying to use this package to send messages to riemann. I modified slightly the client to use TCP instead of UDP, but otherwise left code pretty much untouched. When sending some messages, I can see the messages flow with tcpdump but nothing appears in riemann server. I initially thought this might be some subtle networking issue introduced by the fact I am using docker, but I am able to send messages using another client, e.g. `riemann-cli` in Ruby. \r\n\r\nNot sure what is the state of riemann-hs, if it is supposed to work... I suspect there might be issues with protobuf interface but it appears identical to what's on http://riemann.io. I am clueless.... Help greatly appreciated.\r\n"},"comment":{"url":"https://api.github.com/repos/tel/riemann-hs/issues/comments/87469202","html_url":"https://github.com/tel/riemann-hs/issues/5#issuecomment-87469202","issue_url":"https://api.github.com/repos/tel/riemann-hs/issues/5","id":87469202,"user":{"login":"abailly","id":40221,"avatar_url":"https://avatars.githubusercontent.com/u/40221?v=3","gravatar_id":"","url":"https://api.github.com/users/abailly","html_url":"https://github.com/abailly","followers_url":"https://api.github.com/users/abailly/followers","following_url":"https://api.github.com/users/abailly/following{/other_user}","gists_url":"https://api.github.com/users/abailly/gists{/gist_id}","starred_url":"https://api.github.com/users/abailly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abailly/subscriptions","organizations_url":"https://api.github.com/users/abailly/orgs","repos_url":"https://api.github.com/users/abailly/repos","events_url":"https://api.github.com/users/abailly/events{/privacy}","received_events_url":"https://api.github.com/users/abailly/received_events","type":"User","site_admin":false},"created_at":"2015-03-29T20:23:30Z","updated_at":"2015-03-29T20:23:30Z","body":"Thanks. I am developing an application in Haskell and would really like to feed events to riemann in order to provide an applicative-level performance monitoring, hence my interest in this code. I actually managed to send messages using UDP with a fork from alphaHeavy, but I failed with TCP. I suspect my modifications to use TCP are extremely naive and I should probably go for something more involved, e.g. keeping and using a `Handle` from the socket, managing connection drop, maybe even handle back-pressure from riemann server... Interesting but a bit more involved.\r\n\r\nIf you dropped usage of that code, can I ask why? I could not find any other implementation of a riemann client in Haskell and this seems puzzling to me as I  think this is a great tool. "}}