Closed jwillker closed 3 months ago
It seems like the span operation is hardcoded here: https://github.com/DataDog/kong-plugin-ddtrace/blob/526031cadfe5413fe925dc0169d842d0e4b35459/kong/plugins/ddtrace/handler.lua#L212
This produces spans like this:
But for other spans, we will see operations like http.server.request or envoy.proxy. Why use the name of the plugin as the operation?
http.server.request
envoy.proxy
Why not use something like kong.handle and kong.forward?
kong.handle
kong.forward
It seems like the span operation is hardcoded here: https://github.com/DataDog/kong-plugin-ddtrace/blob/526031cadfe5413fe925dc0169d842d0e4b35459/kong/plugins/ddtrace/handler.lua#L212
This produces spans like this:![image](https://github.com/DataDog/kong-plugin-ddtrace/assets/6719357/500b898b-5d60-4578-9f10-65f161c88a28)
But for other spans, we will see operations like
http.server.request
orenvoy.proxy
. Why use the name of the plugin as the operation?Why not use something like
kong.handle
andkong.forward
?