Hello, I've setup RUM agent in Rails application and data is correctly getting to Kibana. I can see updates on the User Experience dashboard as activities happen in the application. I'm using the same APM server for multiple Rails environments. My problem is, switching environments in Environment Selector has no effect on the data shown, i.e. all "All", "development", "staging" environments show the exact same data. APM on the other hand is working well with different environments.
Here is how the RUM agent is configured on every page of the application:
Is there something else I need to do to correctly pass the environment in RUM?