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 CLI fails to output flow in JSON format #1080

Open
SRodi opened this issue Nov 27, 2024 · 0 comments
Open

Hubble CLI fails to output flow in JSON format #1080

SRodi opened this issue Nov 27, 2024 · 0 comments
Labels
area/flows control-plane/hubble lang/go The Go Programming Language meta/invalid This doesn't seem right type/bug Something isn't working

Comments

@SRodi
Copy link
Member

SRodi commented Nov 27, 2024

Describe the bug
The error message indicates that there’s a problem with resolving the type.googleapis.com/utils.RetinaMetadata type.

To Reproduce
Steps to reproduce the behavior:

❯ hubble observe --first 1 -o json
json: error calling MarshalJSON for type *observer.GetFlowsResponse: proto: google.protobuf.Any: unable to resolve "type.googleapis.com/utils.RetinaMetadata": not found

Expected behavior
Hubble CLI -o json option should work as expected and present the JSON-formatted output

Screenshots
If applicable, add screenshots to help explain your problem.

Platform (please complete the following information):

  • OS: Linux 5.15.0-1074-azure x86_64 GNU/Linux
  • Kubernetes Version: v1.29.8
  • Host: AKS
  • Retina Version: v0.0.18
  • HubbleCLI: v1.16.3

Additional context
We need to ensure that all necessary dependencies and protobuf definitions are correctly installed and accessible

@SRodi SRodi added type/bug Something isn't working meta/invalid This doesn't seem right lang/go The Go Programming Language area/flows control-plane/hubble labels Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/flows control-plane/hubble lang/go The Go Programming Language meta/invalid This doesn't seem right type/bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

1 participant