Skip to content

Commit

Permalink
remove span kind
Browse files Browse the repository at this point in the history
  • Loading branch information
wconti27 committed Feb 13, 2025
1 parent ee6423f commit a3e22fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion packages/dd-trace/src/plugins/util/inferred_proxy.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ function createInferredProxySpan (headers, childOf, tracer, context) {
tags: {
service: proxyContext.domainName || tracer._config.service,
component: proxySpanInfo.component,
[SPAN_KIND]: 'internal',
[SPAN_TYPE]: 'web',
[HTTP_METHOD]: proxyContext.method,
[HTTP_URL]: proxyContext.domainName + proxyContext.path,
Expand Down
4 changes: 2 additions & 2 deletions packages/dd-trace/test/plugins/util/inferred_proxy.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ describe('Inferred Proxy Spans', function () {
expect(spans[0].meta).to.have.property('http.url', 'example.com/test')
expect(spans[0].meta).to.have.property('http.method', 'GET')
expect(spans[0].meta).to.have.property('http.status_code', '200')
expect(spans[0].meta).to.have.property('span.kind', 'internal')
expect(spans[0].meta).to.have.property('http.route', '/test')
expect(spans[0].meta).to.have.property('component', 'aws-apigateway')
expect(spans[0].meta).to.have.property('_dd.inferred_span', '1')
expect(spans[0].start.toString()).to.be.equal('1729780025472999936')
Expand Down Expand Up @@ -129,7 +129,7 @@ describe('Inferred Proxy Spans', function () {
expect(spans[0].meta).to.have.property('http.url', 'example.com/test')
expect(spans[0].meta).to.have.property('http.method', 'GET')
expect(spans[0].meta).to.have.property('http.status_code', '500')
expect(spans[0].meta).to.have.property('span.kind', 'internal')
expect(spans[0].meta).to.have.property('http.route', '/test')
expect(spans[0].meta).to.have.property('component', 'aws-apigateway')
expect(spans[0].error).to.be.equal(1)
expect(spans[0].start.toString()).to.be.equal('1729780025472999936')
Expand Down

0 comments on commit a3e22fa

Please sign in to comment.