You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is possible to use ktor as an http server without using it for client calls, such as applications which do not need to make client calls. Currently, the server instrumentation seems to be tied to the client instrumentation, such that if the client instrumentation fails, so will the server instrumentation:
Describe the bug
It is possible to use ktor as an http server without using it for client calls, such as applications which do not need to make client calls. Currently, the server instrumentation seems to be tied to the client instrumentation, such that if the client instrumentation fails, so will the server instrumentation:
Steps to reproduce
Running
docker-compose up --build -d
for this application should reproduce the results: https://github.com/kjschnei001/ktor-sampleExpected behavior
ktor server-side auto-instrumentation should work even if the client libraries aren't loaded.
Actual behavior
ktor server-side auto-instrumentation only works if the client libraries are loaded.
Javaagent or library instrumentation version
v2.4.0
Environment
JDK:
Running on Java 17.0.11. JVM OpenJDK 64-Bit Server VM - Eclipse Adoptium - 17.0.11+9
OS:
Linux d1765f007e01 6.5.0-35-generic #35-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 27 00:18:38 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux
Additional context
No response
The text was updated successfully, but these errors were encountered: