Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Map updated HTTP server semantic conventions #263

Merged
merged 1 commit into from
May 16, 2024

Conversation

stevejgordon
Copy link
Contributor

Adds support for updated semantic conventions for HTTP server spans.

Closes #254

@stevejgordon stevejgordon requested a review from a team as a code owner April 15, 2024 12:21
@elastic-apm-tech elastic-apm-tech added the safe-to-test Changes are safe to run in the CI label Apr 15, 2024
@@ -450,11 +461,6 @@ func TranslateTransaction(
case semconv.AttributeRPCService:
case semconv.AttributeRPCMethod:

// URL
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note for reviewer: The url.full attribute is not expected on spans for HTTP server requests, so I have removed this.

@stevejgordon stevejgordon force-pushed the enhancement/254-otelhttpserver branch from 72aae9c to 43892ab Compare April 15, 2024 12:24
@stevejgordon
Copy link
Contributor Author

@simitt Here's an initial stab at supporting the newer attributes.

@stevejgordon
Copy link
Contributor Author

I rebased onto main via the UI, which seems to have lost the signing on the commit, which is annoying. @kruskall Are there any alternatives to recommitting locally (with the signing) and force pushing?

@stevejgordon stevejgordon force-pushed the enhancement/254-otelhttpserver branch from 43892ab to 91a6034 Compare April 16, 2024 09:10
@stevejgordon stevejgordon force-pushed the enhancement/254-otelhttpserver branch from 91a6034 to 90fe722 Compare May 7, 2024 07:52
@stevejgordon
Copy link
Contributor Author

@kruskall I rebased this onto the latest main. Would you mind re-reviewing and merging? I don't seem to have merge permissions in this repo.

@stevejgordon stevejgordon requested a review from kruskall May 7, 2024 07:53
@stevejgordon stevejgordon force-pushed the enhancement/254-otelhttpserver branch from 90fe722 to d5a3e7f Compare May 16, 2024 08:25
@stevejgordon stevejgordon force-pushed the enhancement/254-otelhttpserver branch from d5a3e7f to 233bc7d Compare May 16, 2024 08:33
@simitt simitt merged commit 2c1119f into elastic:main May 16, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
safe-to-test Changes are safe to run in the CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Map newer HTTP Server Semantic Conventions to URL
4 participants