-
Notifications
You must be signed in to change notification settings - Fork 325
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
RUM Javascript injection through the java agent #235
Comments
Hi and thanks for the great question. This is something we have already been thinking about, but as of now, there are no concrete plans or a timeline. |
I'm trying to implement this feature on an ongoing project, I would be interested if you have ideas.
|
From the RUM agent side the following snippet needs to be injected to initialise the agent: <script src="elastic-apm-js-base/dist/bundles/elastic-apm-js-base.umd.min.js"></script>
<script>
elasticApm.init({
serviceName: 'service-name',
serverUrl: 'http://localhost:8200',
});
elasticApm.setInitialPageLoadName('page-name');
</script> |
Hi |
Hi, no current plans. There is an otel SIG for this, any support would most likely come from the otel Java agent supporting this and we'll support it through our distribution. But we're unlikely to implement this in our classic agent |
Do you have plans to inject RUM Javascript agent in servlet response ?
To override servlet response methods, you wrap the response in an object that extends ServletResponseWrapper or HttpServletResponseWrapper.
The text was updated successfully, but these errors were encountered: