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

HTTP Metrics are creating new metrics (i.e., routes HTTP routes) for each explicit http request made by JSF / Jakarta Faces #29822

Open
Channyboy opened this issue Oct 10, 2024 · 0 comments · May be fixed by #29816
Assignees
Labels
release bug This bug is present in a released version of Open Liberty

Comments

@Channyboy
Copy link
Contributor

Describe the bug
HTTP Metrics are creating new metrics (i.e., routes HTTP routes) for each explicit http request made by JSF / Jakarta Faces.

These requests can simply be abstracted to *.xhtml, *.jsf (or the file extension used in the web.xml servlet mapping for the JSF servlet)

This is troublesome especially when loading JSF / Jakarta Faces resources as this can create a large amount of distinct requests (and therefore metrcis) for all these resources thus causing a large memory usage,.

Steps to Reproduce
Any application using JSF.

Expected behavior
Abstract the HTTP metrics' http route to *.xhtml, *.jsf (or the file extension used in the web.xml servlet mapping for the JSF servlet)

Diagnostic information:

  • OpenLiberty Version: 24.0.0.9+
  • Affected feature(s): jsf-2.2 up and pages-4.0 and up when used in combination with (monitor-1.0 -> this kicks of auto-feature to instrument http metrics).
  • Java Version: N/A
  • server.xml configuration (WITHOUT sensitive information like passwords)
  • If it would be useful, upload the messages.log file found in $WLP_OUTPUT_DIR/messages.log

Additional context
Add any other context about the problem here.

@Channyboy Channyboy added the release bug This bug is present in a released version of Open Liberty label Oct 10, 2024
@Channyboy Channyboy self-assigned this Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release bug This bug is present in a released version of Open Liberty
Projects
None yet
1 participant