Is your feature request related to a problem? Please describe.
Currently we use Application Insights e2e transaction logging on all our environments, even for local development. Now we have an issue (annoyance) that we have to provide cloud role name of application either using Environment Variable (does not work when you run multiple applications locally) or using JSON configuration file. It would be nice if it would be also possible to set application name (cloud role name) using Java system property, just like we can for configuration file path.
Describe the solution you would like
Ability to set cloud role name using Java system property, i.e. applicationinsights.role.name.
Is your feature request related to a problem? Please describe.
Currently we use Application Insights e2e transaction logging on all our environments, even for local development. Now we have an issue (annoyance) that we have to provide cloud role name of application either using Environment Variable (does not work when you run multiple applications locally) or using JSON configuration file. It would be nice if it would be also possible to set application name (cloud role name) using Java system property, just like we can for configuration file path.
Describe the solution you would like
Ability to set cloud role name using Java system property, i.e.
applicationinsights.role.name.