Skip to content

Hubble CLI fails to output flow in JSON format #1080

@SRodi

Description

@SRodi

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions