-
Notifications
You must be signed in to change notification settings - Fork 870
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
add instrumentation for RestTemplateBuilder #11054
Conversation
.../instrumentation/spring/autoconfigure/instrumentation/web/RestTemplateBeanPostProcessor.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The shouldSendTelemetry
test method verifies many things.
Would it be possible to test the RestTemplateBuilder
instrumentation from another test method calling an HTTP endpoint different from /ping
(the one called in the shouldSendTelemetry
test method)?
...emetry/instrumentation/spring/autoconfigure/instrumentation/web/RestTemplateInterceptor.java
Outdated
Show resolved
Hide resolved
good idea 😄 - done |
5424be6
to
58c3a21
Compare
...-tests-otel-starter/src/test/java/io/opentelemetry/smoketest/OtelSpringStarterSmokeTest.java
Outdated
Show resolved
Hide resolved
...-tests-otel-starter/src/test/java/io/opentelemetry/smoketest/OtelSpringStarterSmokeTest.java
Show resolved
Hide resolved
...emetry/instrumentation/spring/autoconfigure/instrumentation/web/RestTemplateInterceptor.java
Outdated
Show resolved
Hide resolved
...-tests-otel-starter/src/test/java/io/opentelemetry/smoketest/OtelSpringStarterSmokeTest.java
Outdated
Show resolved
Hide resolved
...emetry/instrumentation/spring/autoconfigure/instrumentation/web/RestTemplateInterceptor.java
Outdated
Show resolved
Hide resolved
...-tests-otel-starter/src/test/java/io/opentelemetry/smoketest/OtelSpringStarterSmokeTest.java
Outdated
Show resolved
Hide resolved
...-tests-otel-starter/src/test/java/io/opentelemetry/smoketest/OtelSpringStarterSmokeTest.java
Outdated
Show resolved
Hide resolved
...-tests-otel-starter/src/test/java/io/opentelemetry/smoketest/OtelSpringStarterSmokeTest.java
Outdated
Show resolved
Hide resolved
...-tests-otel-starter/src/test/java/io/opentelemetry/smoketest/OtelSpringStarterSmokeTest.java
Outdated
Show resolved
Hide resolved
ff5f77f
to
5fb82c5
Compare
...-tests-otel-starter/src/test/java/io/opentelemetry/smoketest/OtelSpringStarterSmokeTest.java
Outdated
Show resolved
Hide resolved
…/io/opentelemetry/instrumentation/spring/autoconfigure/instrumentation/web/RestTemplateInterceptor.java Co-authored-by: Jean Bisutti <jean.bisutti@gmail.com>
…est/OtelSpringStarterSmokeTest.java
afdeef1
to
ed1587a
Compare
No description provided.