-
Notifications
You must be signed in to change notification settings - Fork 791
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
Does't compatible with JFinal framework #11465
Labels
bug
Something isn't working
contribution welcome
Request makes sense, maintainers probably won't have time, contribution would be welcome
needs triage
New issue that requires triage
Comments
We use request attributes to associate some of our own state with the request. You can work around this by excluding these attributes JsonRender.addExcludedAttrs(
"io.opentelemetry.javaagent.instrumentation.servlet.ServletHelper.AsyncListenerResponse",
"io.opentelemetry.javaagent.instrumentation.servlet.ServletHelper.Context",
"trace_id",
"span_id"); |
It works. And do we has plan to support jfinal? auto excluded attrs above and get |
|
ok, you can assign this issue to me |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Something isn't working
contribution welcome
Request makes sense, maintainers probably won't have time, contribution would be welcome
needs triage
New issue that requires triage
Describe the bug
JFinal is a Web and ORM framework。
when I add VM option
-javaagent:opentelemetry-javaagent.jar
, all HTTP requests result in a 500 error.Steps to reproduce
1.
git clone https://github.com/pepeshore/jfinal-demo
this is a simple jfinal demo2. Open this project with IDEA(may be eclipse works too )
3. Run
jfinal.MyApp#main
with VM options VM option-javaagent:opentelemetry-javaagent.jar
added4. Exec command
curl -v http://127.0.0.1:8082/jfinal/hello
Expected behavior
http status code is 200
Actual behavior
http status code is 500
Javaagent or library instrumentation version
2.4
Environment
JDK:
openjdk version "1.8.0_322"
OpenJDK Runtime Environment (Zulu 8.60.0.21-CA-macos-aarch64) (build 1.8.0_322-b06)
OpenJDK 64-Bit Server VM (Zulu 8.60.0.21-CA-macos-aarch64) (build 25.322-b06, mixed mode)
OS:
mac
Additional context
No response
The text was updated successfully, but these errors were encountered: