Support Wicket dynamic Ajax endpoints
See original GitHub issueWe use the Wicket framework for an AJAX-heavy web application. To utilize the AJAX requests in Wicket, custom Ajax handlers are dynamically generated and attached to components, such as:
childComponent.add( new OnChangeAjaxBehavior() {
@Override
protected void onUpdate( AjaxRequestTarget target ) {
//Handle AJAX call
}
}
Wicket then generates an AJAX URL similar to:
/page?4-1.IBehaviorListener.0-parent~component-child~component
As a result, the APM agent merges all AJAX requests on all pages into one generic POST request type:
It would be great if the APM agent knew how to deal with this and categorize the requests properly, but I’m not sure if it is even possible. Maybe there’s a workaround?
Issue Analytics
- State:
- Created 5 years ago
- Comments:11 (11 by maintainers)
Top Results From Across the Web
WicketEndpoint (Wicket Parent 8.15.0-SNAPSHOT API)
public class WicketEndpoint extends javax.websocket.Endpoint. JSR 356 WebSocket Endpoint that integrates with Wicket Native WebSocket's IWebSocketProcessor ...
Read more >Wicket and ajax with Rest service - Stack Overflow
Is it possible with Wicket to use AJAX but invoking a webservice from a different domain from the one serving the original page?...
Read more >CHANGELOG-8.x - wicket - Git at Google
[WICKET-6706] - Websocket Endpoint logs exception when user leaves page ... [WICKET-6638] - RedirectRequestHandler does not support Ajax.
Read more >How to write a JSON response in Wicket - Coder Dreams
Learn how to create JSON response endpoints in Wicket and invoke them from Javascript using the fetch API.
Read more >CSP in Apache Wicket
Wicket has built-in AJAX support, a jQuery library and automatically generates JS code on a web page. Content Security Policy in Apache Wicket....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
fyi @felixbarny @mdindoffer The issue related to weird encoding in APM UI (Kibana) has finally been fixed 😃 https://github.com/elastic/kibana/pull/33309
Closing this issue as a work-around is available in apm-contrib repository. We will re-evaluate adding native support for this in the agent if there are more requests for it.