Open wesleytsai opened 6 years ago
The deployed code packages are supposed to be immutable - it is not possible to change the entry point after the deployment. The application name is available in the process environment variable and if you are not using the shared code packages, the full path of the executable contains the appId.
Hi,
We use perfmon telemetry to get memory/cpu usage numbers. Currently we are getting this health metric by ServiceName only. Since we have same service running in different Apps, we want to get health metrics by AppName\ServiceName. We want to include AppName as part of the process name (currently process name is service name) so that perfmon counters can be used to tell from which app telemetry is coming.
We want to request a method of being able to change the process name to include the Appname after deployment, be it by renaming the exe while in SetupHost, or for ServiceManifest to allow dynamic exe names, for example, with a [ApplicationName] replacement variable.
Hope you can help.
Thanks, Wes