Skip to content

Commit

Permalink
fix: set http.target as path (like spec) and not pathname
Browse files Browse the repository at this point in the history
  • Loading branch information
kobi-co committed Mar 1, 2023
1 parent ef7f30a commit b60462a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ describe('Utility', () => {
assert.strictEqual(attributes[SemanticAttributes.HTTP_ROUTE], undefined);
});

it('should set http.target as full path in http span attributes', () => {
it('should set http.target as path in http span attributes', () => {
const request = {
url: 'http://hostname/user/?q=val',
method: 'GET',
Expand Down

0 comments on commit b60462a

Please sign in to comment.