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

Fix OpenTelemetry HTTP span naming #18366

Merged
merged 1 commit into from
Jul 2, 2021

Conversation

kenfinnigan
Copy link
Member

  • Fixes Empty REST Client @Path leads to exception with OpenTelemetry #18365
  • Also ensure we don't overwrite the client span name from UrlPathTemplate unless it's length is non-zero
  • If client or server path is "/" or "", set the span name to "HTTP {METHOD}" as per semantic conventions
  • Add integration tests for "/" and "" case in client and server

- Fixes quarkusio#18365
- Also ensure we don't overwrite the client span name from `UrlPathTemplate` unless it's length is non-zero
- If client or server path is "/" or "", set the span name to "HTTP {METHOD}" as per semantic conventions
- Add integration tests for "/" and "" case in client and server
@kenfinnigan kenfinnigan merged commit f1d848f into quarkusio:main Jul 2, 2021
@kenfinnigan kenfinnigan deleted the fix-otel-span-name branch July 2, 2021 19:24
@gsmet gsmet modified the milestones: 2.1 - main, 2.0.1.Final Jul 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Empty REST Client @Path leads to exception with OpenTelemetry
3 participants