DataDog / kong-plugin-ddtrace

Datadog APM Plugin for Kong Gateway
Apache License 2.0
15 stars 7 forks source link

Operation with the plugin name doesn't make sense #23

Closed jwillker closed 3 months ago

jwillker commented 6 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: image

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?

Why not use something like kong.handle and kong.forward?