Skip to content

Expose GRPC connection status information #226

@mterhar

Description

@mterhar

GRPC is a difficult protocol to troubleshoot so there doesn't seem to be a tool that enables this sort of inspection today. The otel-cli looks to be close.

The main use case is validating configuration of load balancers in front of GRPC servers (Otel Collector, Refinery, etc)

Example cli command: otel-cli status --keepalive 1 --verbose --fail

An output that has something like:

  • connection established with a timestamp
  • an output for each recoverable error with a timestamp
  • an attempt to reconnect?

Initial idea was to add a keepalive flag and verbose level log output to processGrpcStatus function:

func processGrpcStatus(etsr *coltracepb.ExportTraceServiceResponse, err error) (bool, time.Duration, error) {

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