Skip to content

[Override] gRPC logs rendering is not correct #258

@foxish

Description

@foxish

It is showing these requests as HTTP when they are gRPC

signadot local override --sandbox pr-259-route -w route -p=8083 --with=localhost:8083
→ Applying override to pr-259-route
Waiting (up to --wait-timeout=3m0s) for sandbox to be ready...
✓ Sandbox status: Ready: All desired workloads are available.
✓ Local destination localhost:8083 will override sandbox responses as follows:

All HTTP/gRPC requests intended for sandbox pr-259-route, workload route, port 8083 will be sent to your local service at localhost:8083.

* If your local service (localhost:8083) responds with header `sd-override: true`:
    -> Response from your local service (localhost:8083) is returned to the client.
* Otherwise:
    -> Request is forwarded to the sandbox (pr-259-route).

Printing traffic logs below (press Ctrl+C to stop):
pr-259-route (sandbox) POST    /route.RoutesService/FindRoute -> 200
pr-259-route (sandbox) POST    /route.RoutesService/FindRoute -> 200
pr-259-route (sandbox) POST    /route.RoutesService/FindRoute -> 200
pr-259-route (sandbox) POST    /route.RoutesService/FindRoute -> 200
pr-259-route (sandbox) POST    /route.RoutesService/FindRoute -> 200
pr-259-route (sandbox) POST    /route.RoutesService/FindRoute -> 200
pr-259-route (sandbox) POST    /route.RoutesService/FindRoute -> 200
pr-259-route (sandbox) POST    /route.RoutesService/FindRoute -> 200
pr-259-route (sandbox) POST    /route.RoutesService/FindRoute -> 200
pr-259-route (sandbox) POST    /route.RoutesService/FindRoute -> 200

cc @davixcky

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions