New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expand Hubble-exporter with filters and field mask #26379
Conversation
Commit addb5970199f276f48a2e9e6d070bca8d7f551e0 does not contain "Signed-off-by". Please follow instructions provided in https://docs.cilium.io/en/stable/contributing/development/contributing_guide/#developer-s-certificate-of-origin |
addb597
to
823dd7e
Compare
823dd7e
to
a9ac019
Compare
Do you think that I should also add new fields to config-map/command-line to configure new options of the exporter? If yes, how should they be specified? Is JSON for raw filters ok? |
fb5b570
to
be4f44c
Compare
@AwesomePatrol yes, we should add some flags for this. JSON is fine. And for adding to the configmap, that's also probably a good idea as well. |
b92abdf
to
80fc4c2
Compare
80fc4c2
to
17f39b1
Compare
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.
agent changes lgtm 👍
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.
CLI-related changes LGTM. Appreciate the clear variable names and parsing logic.
17f39b1
to
b781fd3
Compare
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.
Overall the approach LGTM. What do you think about adding some documentation to go with the export feature?
Sure, I can do that, but as there is a different PR relying on this can we have it done separately? Feel free to create an issue and assign it to me so that I won't forget. |
Created #26970 since we have existing flags + the new options that all need documenting. |
/test |
b781fd3
to
51f5670
Compare
/test |
/ci-e2e |
51f5670
to
a4e4e16
Compare
/test |
I think the same tests failed again, but it is hard to tell if it may be the fault of this change or tests. Are any of the failing tests configuring Hubble exporter? If not, I don't think it should affect them. Could you please take a look? |
Signed-off-by: Aleksander Mistewicz <amistewicz@google.com>
Signed-off-by: Aleksander Mistewicz <amistewicz@google.com>
Signed-off-by: Aleksander Mistewicz <amistewicz@google.com>
Signed-off-by: Aleksander Mistewicz <amistewicz@google.com>
Signed-off-by: Aleksander Mistewicz <amistewicz@google.com>
goos: linux goarch: amd64 pkg: github.com/cilium/cilium/pkg/hubble/exporter cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkExporter-24 100000 13998 ns/op 1838 B/op 38 allocs/op Signed-off-by: Aleksander Mistewicz <amistewicz@google.com>
a4e4e16
to
b32c3f9
Compare
/test |
Add support for filters and field mask to Hubble-exporter
This is prerequisite for implementation of #25508