solo-io / gloo

The Feature-rich, Kubernetes-native, Next-Generation API Gateway Built on Envoy
https://docs.solo.io/
Apache License 2.0
4.08k stars 437 forks source link

Opentelemetry tracer verbose tracing #8542

Open huzlak opened 1 year ago

huzlak commented 1 year ago

Gloo Edge Product

Enterprise

Gloo Edge Version

1.14.6

Is your feature request related to a problem? Please describe.

I want to get detailed tracing with opentelemetry tracer to be able to gather following key timestamps:

Currently it looks like envoy otel tracer does not support the same span logs as can be enabled with tracing.verbose: true when using zipkinconfig.

Describe the solution you'd like

Ideal solution is to provide the same verbose tracing experience as with zipkin, providing all of the below timestamps:

Server Start
last_downstream_rx_byte_received
first_upstream_tx_byte_sent
last_upstream_tx_byte_sent
first_upstream_rx_byte_received
first_downstream_tx_byte_sent
last_upstream_rx_byte_received
last_downstream_tx_byte_sent
Server Finish

Describe alternatives you've considered

Exposing start_child_span option in gloo's opentelemetryConfig could be used as a workaround to identify the upstream request times.

Additional Context

No response

github-actions[bot] commented 3 months ago

This issue has been marked as stale because of no activity in the last 180 days. It will be closed in the next 180 days unless it is tagged "no stalebot" or other activity occurs.