When uploading the the source map for the clientside js RUM agent you need to specify:
service_name
service_version
bundle_filepath
As part of my applications deploy process I upload a new source map with a consistent service name and version. When my agent initializes it uses the same service_name & service_version.
You should be able to upload the same sourcemap file for multiple bundle_filepath and APM server would find the appropriate sourcemap for each subdomain.
Unfortunately, uploading multiple files is our only solution to this problem. However I've opened this issue in the APM Server repo to keep track of this feature request.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.