When viewing an application, every time a new tab is chosen (Summary, Log Stream, Revisions, Routes, Variables, Services or Events), it seems like the environment_variables app endpoint is being invoked, issuing a new audit.app.environment.show event for the app every time.
This seems unnecessary and ends up "polluting" the events for the app.
Reproducing
Simply click on an app, going to its details screens and click around any of the side tabs to visualize its screen (logs, revisions, etc.). Finally click on the events tab and you will see one audit.app.environment.show event reported for every single tab click done.
Expected behaviour
It would be expected that only when clicking the Variables tab the event would be issued (meaning, only then would the environment_variables call be executed)
Observed behaviour
/v3/apps/:guid/environment_variables seems to be called every time a tab in application is clicked.
When viewing an application, every time a new tab is chosen (Summary, Log Stream, Revisions, Routes, Variables, Services or Events), it seems like the environment_variables app endpoint is being invoked, issuing a new audit.app.environment.show event for the app every time.
This seems unnecessary and ends up "polluting" the events for the app.
Reproducing
Simply click on an app, going to its details screens and click around any of the side tabs to visualize its screen (logs, revisions, etc.). Finally click on the events tab and you will see one audit.app.environment.show event reported for every single tab click done.
Expected behaviour
It would be expected that only when clicking the Variables tab the event would be issued (meaning, only then would the environment_variables call be executed)
Observed behaviour
/v3/apps/:guid/environment_variables seems to be called every time a tab in application is clicked.