Deploy the agent bundles on Elastic CDN
See original GitHub issueCurrently we recommend users to install our package from npm and serve the JavaScript bundle from their own servers. However, providing the RUM agent via our own CDN simplifies testing and deployment for our users.
I think we should meet the following requirements:
- Ability to publish the final JavaScript bundles to our CDN (this can be done through CI/CD), currently we don’t have any CDN endpoints.
- We should have some sort of versioning in the URL, e.g.
https://elastic.co/cdn/apm-rum@4/apm-rum.min.js
for the 4th major version of the agent. It would be better if the version in the url supports semantic versioning (example) but at the moment we only require supporting the major version (because of breaking changes). - We should provide high availability, since the JS bundle might be deployed by our users in production and if the endpoint is not available it might result in disrupting their service. This also means that this CDN endpoint could potentially be hit by a huge number of requests.
Depends on: https://github.com/elastic/apm-agent-rum-js/issues/518
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (6 by maintainers)
Top Results From Across the Web
Install the Agent | APM Real User Monitoring ... - Elastic
Using Package Managers: Install the Agent as a dependency to your application. ... However, they make the RUM agent bundle size larger so...
Read more >Install the Agent | APM Real User Monitoring ... - Elastic
By default, RUM agent logs all the debug messages to the browser console. These logs are very useful in development. However, they make...
Read more >Deploy on Elastic Cloud | Fleet and Elastic Agent Guide [8.5]
In Kibana, go to Management → Fleet. On the Agents tab, look for the Elastic Cloud agent policy. This policy is managed by...
Read more >Upload custom plugins and bundles - Elastic
After uploading your files, you can select to enable them when creating a new Elasticsearch deployment. For existing deployments, you must update your ......
Read more >Quick start guide | APM User Guide [master] - Elastic
Step 1: Spin up the Elastic Stackedit · Get a free trial. · Log into Elastic Cloud. · Click Create deployment. · Select...
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
We’ve discussed this and we are going to move forward, with a phased approach.
Not use elastic.co URL, @drewpost was concerned of our domain being identified with a tracker. cc. @graphaelli
@olksdr just pointed that the current implementation will show an error message when accessing http://apm-assets.elastic.co/, as long as there is no an index.html file in the root of the bucket. We can deploy a beautiful page with list of the assets (maybe generate it on deployment), what do you think?