Skip to content
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

hubble: Support --cel-expression filter in hubble observe #32147

Merged
merged 1 commit into from
May 1, 2024

Conversation

chancez
Copy link
Contributor

@chancez chancez commented Apr 23, 2024

I originally opened this PR to the hubble repo cilium/hubble#1465 but now Hubble CLI is part of the cilium repo so I've reopened the PR here.

Implements the CLI side of #31070

@chancez chancez self-assigned this Apr 23, 2024
@maintainer-s-little-helper maintainer-s-little-helper bot added the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Apr 23, 2024
@chancez chancez added kind/feature This introduces new functionality. area/cli Impacts the command line interface of any command in the repository. sig/hubble Impacts hubble server or relay and removed dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. labels Apr 23, 2024
@maintainer-s-little-helper maintainer-s-little-helper bot added dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. labels Apr 23, 2024
@chancez
Copy link
Contributor Author

chancez commented Apr 23, 2024

Not really sure of the right release note label since we already have #31070 as a release note and this being separate is an artifact of the Hubble CLI repo being merged with cilium.

@chancez
Copy link
Contributor Author

chancez commented Apr 23, 2024

/test

@chancez chancez marked this pull request as ready for review April 23, 2024 23:01
@chancez chancez requested a review from a team as a code owner April 23, 2024 23:01
@chancez chancez requested a review from kaworu April 23, 2024 23:01
@kaworu kaworu added the release-note/misc This PR makes changes that have no direct user impact. label Apr 26, 2024
@maintainer-s-little-helper maintainer-s-little-helper bot removed the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Apr 26, 2024
Copy link
Member

@kaworu kaworu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not really sure of the right release note label since we already have #31070 as a release note and this being separate is an artifact of the Hubble CLI repo being merged with cilium.

Sure let's go with release-note/misc for this one then. Requesting change at the patch is currently missing tests.

@chancez chancez force-pushed the pr/chancez/hubble_cli_cel_filter branch from e7a3eaf to bbaa059 Compare April 26, 2024 15:10
@chancez
Copy link
Contributor Author

chancez commented Apr 26, 2024

@kaworu good catch, tests added.

@chancez chancez requested a review from kaworu April 26, 2024 15:11
@chancez
Copy link
Contributor Author

chancez commented Apr 26, 2024

/test

Copy link
Member

@kaworu kaworu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@kaworu kaworu added this pull request to the merge queue May 1, 2024
@maintainer-s-little-helper maintainer-s-little-helper bot added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label May 1, 2024
Merged via the queue into main with commit 7260c5f May 1, 2024
261 checks passed
@kaworu kaworu deleted the pr/chancez/hubble_cli_cel_filter branch May 1, 2024 14:52
@michi-covalent michi-covalent added the hubble-cli PRs or GitHub issues related with hubble-cli label May 3, 2024
michi-covalent added a commit to cilium/community that referenced this pull request Jul 29, 2024
I propose Chance Zibolski [^1] and Robin Hahling [^2] to be added to
hubble-maintainers team [^3] to recognize and celebrate their tremendous
contributions to Hubble subsystem and Cilium observability in general.
The proposal is also based on my firm belief that it is advantageous to
have more than one maintainer in both European and US time zones.

Qualifications [^4]:

> Demonstrates a broad knowledge of the project across multiple areas

Chance has already been helping hubble-maintainers team by driving
Hubble CLI release process, and by improving the dependency management
process [^5][^6][^7][^8]. Chance is very active on Cilium Slack to
answer Hubble-related questions from the community, and reviewing pull
requests and providing insightful feedback to CFPs. Chance has made many
critical contributions to Hubble, including adding CEL expression flow
filter [^9], and drastically improving the usability of Hubble metrics
[^10].

Robin needs no introduction in terms of his contributions to Hubble, but
I'm going to do it anyways. Robin is the original author of Hubble
multi-node support [^11], which later became known as Hubble Relay.
Robin also implemented mTLS for securing communication between Hubble
Relay and individual Hubble instances [^12]. Robin is the most active
contributor in cilium/hubble repository according to GitHub Insights.
Like Chance, Robin has already been helping hubble-maintainers team by
handling Hubble CLI releases [^13][^14], and keeping dependencies up to
date.

> Must be a Cilium committer

Both Chance and Robin are Cilium committers.

Nomination Process:

> Talk to the current maintainers about which part of the project you
> would like to help with.

I talked to current hubble-maintainers team members regarding my
proposal, and I believe both Glib and Sebastian are more than happy to
have Chance and Robin to distribute Hubble project maintenance
responsibilities. I defer to Glib and Sebastian to either approve this
proposal and merge this pull request, or decline it if they feel that
they don't need additional maintainers at this point.

[^1]: https://github.com/chancez
[^2]: https://github.com/rolinh
[^3]: https://github.com/orgs/cilium/teams/hubble-maintainers
[^4]: https://github.com/cilium/community/blob/main/CONTRIBUTOR-ROLES.md#maintainers
[^5]: cilium/hubble#1554
[^6]: cilium/hubble#1518
[^7]: cilium/hubble#1413
[^8]: cilium/hubble#1263
[^9]: cilium/cilium#32147
[^10]: cilium/cilium#21079
[^11]: cilium/cilium#11361
[^12]: cilium/cilium#11224
[^13]: cilium/hubble#1253
[^14]: cilium/hubble#1119

Signed-off-by: Michi Mutsuzaki <[email protected]>
michi-covalent added a commit to cilium/community that referenced this pull request Jul 29, 2024
I propose Chance Zibolski [^1] and Robin Hahling [^2] to be added to
hubble-maintainers team [^3] to recognize and celebrate their tremendous
contributions to Hubble subsystem and Cilium observability in general.
The proposal is also based on my firm belief that it is advantageous to
have more than one maintainer in both European and US time zones.

Qualifications [^4]:

> Demonstrates a broad knowledge of the project across multiple areas

Chance has already been helping hubble-maintainers team by driving
Hubble CLI release process, and by improving the dependency management
process [^5][^6][^7][^8]. Chance is very active on Cilium Slack to
answer Hubble-related questions from the community, and reviewing pull
requests and providing insightful feedback to CFPs. Chance has made many
critical contributions to Hubble, including adding CEL expression flow
filter [^9], and drastically improving the usability of Hubble metrics
[^10].

Robin needs no introduction in terms of his contributions to Hubble, but
I'm going to do it anyways. Robin is the original author of Hubble
multi-node support [^11], which later became known as Hubble Relay.
Robin also implemented mTLS for securing communication between Hubble
Relay and individual Hubble instances [^12]. Robin has the most
contributions in cilium/hubble repository according to GitHub Insights.
Like Chance, Robin has already been helping hubble-maintainers team by
handling Hubble CLI releases [^13][^14], and keeping dependencies up to
date.

> Must be a Cilium committer

Both Chance and Robin are Cilium committers.

Nomination Process:

> Talk to the current maintainers about which part of the project you
> would like to help with.

I talked to current hubble-maintainers team members regarding my
proposal, and I believe both Glib and Sebastian are more than happy to
have Chance and Robin to distribute Hubble project maintenance
responsibilities. I defer to Glib and Sebastian to either approve this
proposal and merge this pull request, or decline it if they feel that
they don't need additional maintainers at this point.

[^1]: https://github.com/chancez
[^2]: https://github.com/rolinh
[^3]: https://github.com/orgs/cilium/teams/hubble-maintainers
[^4]: https://github.com/cilium/community/blob/main/CONTRIBUTOR-ROLES.md#maintainers
[^5]: cilium/hubble#1554
[^6]: cilium/hubble#1518
[^7]: cilium/hubble#1413
[^8]: cilium/hubble#1263
[^9]: cilium/cilium#32147
[^10]: cilium/cilium#21079
[^11]: cilium/cilium#11361
[^12]: cilium/cilium#11224
[^13]: cilium/hubble#1253
[^14]: cilium/hubble#1119

Signed-off-by: Michi Mutsuzaki <[email protected]>
glibsm pushed a commit to cilium/community that referenced this pull request Aug 6, 2024
I propose Chance Zibolski [^1] and Robin Hahling [^2] to be added to
hubble-maintainers team [^3] to recognize and celebrate their tremendous
contributions to Hubble subsystem and Cilium observability in general.
The proposal is also based on my firm belief that it is advantageous to
have more than one maintainer in both European and US time zones.

Qualifications [^4]:

> Demonstrates a broad knowledge of the project across multiple areas

Chance has already been helping hubble-maintainers team by driving
Hubble CLI release process, and by improving the dependency management
process [^5][^6][^7][^8]. Chance is very active on Cilium Slack to
answer Hubble-related questions from the community, and reviewing pull
requests and providing insightful feedback to CFPs. Chance has made many
critical contributions to Hubble, including adding CEL expression flow
filter [^9], and drastically improving the usability of Hubble metrics
[^10].

Robin needs no introduction in terms of his contributions to Hubble, but
I'm going to do it anyways. Robin is the original author of Hubble
multi-node support [^11], which later became known as Hubble Relay.
Robin also implemented mTLS for securing communication between Hubble
Relay and individual Hubble instances [^12]. Robin has the most
contributions in cilium/hubble repository according to GitHub Insights.
Like Chance, Robin has already been helping hubble-maintainers team by
handling Hubble CLI releases [^13][^14], and keeping dependencies up to
date.

> Must be a Cilium committer

Both Chance and Robin are Cilium committers.

Nomination Process:

> Talk to the current maintainers about which part of the project you
> would like to help with.

I talked to current hubble-maintainers team members regarding my
proposal, and I believe both Glib and Sebastian are more than happy to
have Chance and Robin to distribute Hubble project maintenance
responsibilities. I defer to Glib and Sebastian to either approve this
proposal and merge this pull request, or decline it if they feel that
they don't need additional maintainers at this point.

[^1]: https://github.com/chancez
[^2]: https://github.com/rolinh
[^3]: https://github.com/orgs/cilium/teams/hubble-maintainers
[^4]: https://github.com/cilium/community/blob/main/CONTRIBUTOR-ROLES.md#maintainers
[^5]: cilium/hubble#1554
[^6]: cilium/hubble#1518
[^7]: cilium/hubble#1413
[^8]: cilium/hubble#1263
[^9]: cilium/cilium#32147
[^10]: cilium/cilium#21079
[^11]: cilium/cilium#11361
[^12]: cilium/cilium#11224
[^13]: cilium/hubble#1253
[^14]: cilium/hubble#1119

Signed-off-by: Michi Mutsuzaki <[email protected]>
michi-covalent added a commit to cilium/tetragon that referenced this pull request Nov 10, 2024
Add Common Expression Language [^1] filter in GetEventRequest. See unit
tests for sample usages. This is largely based on Hubble CEL expression
filter [^2].

[^1]: https://cel.dev/
[^2]: cilium/cilium#32147

Signed-off-by: Michi Mutsuzaki <[email protected]>
michi-covalent added a commit to cilium/tetragon that referenced this pull request Nov 12, 2024
Add Common Expression Language [^1] filter in GetEventRequest. See unit
tests for sample usages. This is largely based on Hubble CEL expression
filter [^2].

[^1]: https://cel.dev/
[^2]: cilium/cilium#32147

Signed-off-by: Michi Mutsuzaki <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cli Impacts the command line interface of any command in the repository. hubble-cli PRs or GitHub issues related with hubble-cli kind/feature This introduces new functionality. ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/misc This PR makes changes that have no direct user impact. sig/hubble Impacts hubble server or relay
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants