Skip to content

Akka http server span names are always akka.request #3478 - #5150

Merged
trask merged 6 commits into
open-telemetry:mainfrom
mcmho:main
Jan 20, 2022
Merged

Akka http server span names are always akka.request #3478#5150
trask merged 6 commits into
open-telemetry:mainfrom
mcmho:main

Conversation

@mcmho

@mcmho mcmho commented Jan 17, 2022

Copy link
Copy Markdown
Contributor
  • removed hardcoded span name "akka.request"
  • implemented route() in AkkaHttpServerAttributesExtractor to provide a better span name
  • retrofitted AkkaHttpServerInstrumentationTest.groovy

 - removed hardcoded span name "akka.request"
 - implemented route() in AkkaHttpServerAttributesExtractor to provide a better span name
 - retrofitted AkkaHttpServerInstrumentationTest.groovy
@mcmho
mcmho requested a review from a team January 17, 2022 08:45
mcmho and others added 5 commits January 18, 2022 00:47
 - removed hardcoded span name "akka.request" and changed to "HTTP {METHOD}"
 - retrofitted AkkaHttpServerInstrumentationTest.groovy
# Conflicts:
#	instrumentation/akka/akka-http-10.0/javaagent/src/test/groovy/AkkaHttpServerInstrumentationTest.groovy
 - removed hardcoded span name "akka.request" and changed to "HTTP {METHOD}"
 - retrofitted AkkaHttpServerInstrumentationTest.groovy
 - removed hardcoded span name "akka.request" and changed to "HTTP {METHOD}"
 - retrofitted AkkaHttpServerInstrumentationTest.groovy and related tests

@trask trask left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

thx! can you update the PR description above?

@trask
trask merged commit 66bf050 into open-telemetry:main Jan 20, 2022
RashmiRam pushed a commit to RashmiRam/opentelemetry-auto-instr-java that referenced this pull request May 23, 2022
… (open-telemetry#5150)

* Akka http server span names are always akka.request open-telemetry#3478
 - removed hardcoded span name "akka.request"
 - implemented route() in AkkaHttpServerAttributesExtractor to provide a better span name
 - retrofitted AkkaHttpServerInstrumentationTest.groovy

* Akka http server span names are always akka.request open-telemetry#3478
 - removed hardcoded span name "akka.request" and changed to "HTTP {METHOD}"
 - retrofitted AkkaHttpServerInstrumentationTest.groovy

* Akka http server span names are always akka.request open-telemetry#3478
 - removed hardcoded span name "akka.request" and changed to "HTTP {METHOD}"
 - retrofitted AkkaHttpServerInstrumentationTest.groovy

* Akka http server span names are always akka.request open-telemetry#3478
 - removed hardcoded span name "akka.request" and changed to "HTTP {METHOD}"
 - retrofitted AkkaHttpServerInstrumentationTest.groovy and related tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants