OpenTelemetry Trace with GRPC plugin

Hello,

We have enabled the open telemetry feature in the tyk-api-gateway.
Currently, we have a grpc plugin and would like to add to the trace context within the plugin.

Is this possible? In the grpc plugin, we are using the python ddtrace library to create a trace but this creates a trace that is not connected to the open telemetry trace created by the tyk-api-gateway.

Looking at the object and context args sent to the grpc plugin, there doesn’t seem to be headers or fields that can be used to attach to the open telemetry trace created by the tyk-api-gateway…

Thanks for your time :slight_smile:

AFAIK, no it isn’t possible since gRPC runs in a standalone server and doesn’t have access to the gateways process.

However, you are welcome to create a feature request for it.