added encoder for OpenTSDB#1751
Conversation
|
@timurb great work. Looking forward for this to be merged. 👍 |
There was a problem hiding this comment.
There is no fieldfix filter, this must be a reference to a custom filter that you're using internally?
There was a problem hiding this comment.
This was left from @hynd's implementation. I'll remove the reference.
|
Overall this looks great, thanks! I made a bunch of comments, but they're pretty much all for small stylistic issues. In addition to the in-line comments, we'll want to have an entry added to the CHANGES.txt changelog, and the lovely documentation comment you've provided will need to be wired up to the |
|
The code is updated according to your feedback. I've updated the docs but have never worked with RST so not very confident all is fine there, please let me know if it looks correct. |
|
+1 |
|
Should I rewrite the code using I'm referring to this discussion: https://mail.mozilla.org/pipermail/heka/2015-October/000831.html |
|
@timurb As I said in the mailing list thread, Also, using |
|
Ok, I'll leave Regarding |
Hi,
Here is an encoder for OpenTSDB.
It is loosely based on https://github.com/hynd/heka-tsutils-plugins/blob/master/lua_encoders/opentsdb_http.lua but is able to process full-formed JSON with depth of 1 level.
You'll probably have some suggestions on improvement prior to merging this which I'll be happy to fix.