-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Add Riemann event sink and bug fixes #1591
Add Riemann event sink and bug fixes #1591
Conversation
Hi @mcorbin. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
fbb4618
to
191d7b4
Compare
Reviewed 17 of 17 files at r1. common/riemann/riemann.go, line 17 at r1 (raw file):
Please, organize imports in groups according to goimports (https://github.com/golang/go/wiki/CodeReviewComments#imports), and do the same in all edited files. events/sinks/riemann/driver_test.go, line 134 at r1 (raw file):
Set these events here inline directly? metrics/sinks/riemann/driver.go, line 27 at r1 (raw file):
Can we reuse the definition in common? vendor/github.com/riemann/riemann-go-client/.gitignore, line 3 at r1 (raw file):
I don't think we want to ignore vendor directory. Comments from Reviewable |
- Update riemann-go-client version - Add Riemann event sink - Moves code in common/riemann/riemann.go - Fix a bug on Riemann metrics sink for labeled metrics
191d7b4
to
c299148
Compare
Review status: 12 of 17 files reviewed at latest revision, 4 unresolved discussions. common/riemann/riemann.go, line 17 at r1 (raw file): Previously, jsoriano (Jaime Soriano Pastor) wrote…
Hi, i used goimports on all files. Thanks ;) events/sinks/riemann/driver_test.go, line 134 at r1 (raw file): Previously, jsoriano (Jaime Soriano Pastor) wrote…
Done, thanks metrics/sinks/riemann/driver.go, line 27 at r1 (raw file): Previously, jsoriano (Jaime Soriano Pastor) wrote…
I tried and failed. All sinks (influx, elasticsearch...) duplicates the sink struct in both events and metrics. vendor/github.com/riemann/riemann-go-client/.gitignore, line 3 at r1 (raw file): Previously, jsoriano (Jaime Soriano Pastor) wrote…
I'm pretty new to Go, some projects consider pushing the vendor directory a bad practice, some projects dont. I don't really know what to do with the Riemann Go client. Comments from Reviewable |
Reviewed 5 of 5 files at r2. vendor/github.com/riemann/riemann-go-client/.gitignore, line 3 at r1 (raw file): Previously, mcorbin (Mathieu Corbin) wrote…
In heapster this directory is commited into the repository. Comments from Reviewable |
Review status: all files reviewed at latest revision, 1 unresolved discussion. vendor/github.com/riemann/riemann-go-client/.gitignore, line 3 at r1 (raw file): Previously, jsoriano (Jaime Soriano Pastor) wrote…
Yes, but here it's riemann-go-client vendor directory, so it should not impact Heapster (i can not find a Heapster dependency in vendor with it's own vendor directory). Furthermore, riemann-go-client depends only on protobuf. Comments from Reviewable |
Review status: all files reviewed at latest revision, 1 unresolved discussion. vendor/github.com/riemann/riemann-go-client/.gitignore, line 3 at r1 (raw file): Previously, mcorbin (Mathieu Corbin) wrote…
Oh, you're right, my apologies, I was thinking it was the .gitignore of heapster repository. Comments from Reviewable |
Review status: all files reviewed at latest revision, 1 unresolved discussion. Comments from Reviewable |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM at a glance.
would like to see a review from @jamtur01 before merge, but if we don't get one soon, just ping me and I'll merge this. |
@DirectXMan12 Apologies - didn't realize I was the blocker. This LGTM. |
Awesome. Merging! |
This PR supersedes 1339. Thanks @shmish111, your code helped me a lot.
cc @jamtur01 and @jsoriano for review