Open pauldraper opened 3 years ago
Most of the JS instrumentations have a span name structure that is operation resource.
operation resource
I have been using a string split to create the Datadog operation and resource, and I find the result quite pleasing.
// derive operation and resource let [operation, resource] = span.name.split(' ', 2); resource = resource || span.name;
Would you considering doing this instead of the current approach, or in addition to it?
Most of the JS instrumentations have a span name structure that is
operation resource
.I have been using a string split to create the Datadog operation and resource, and I find the result quite pleasing.
Would you considering doing this instead of the current approach, or in addition to it?