You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently it has no way to pass the service environment to apm. It could be easily added somewhere around the line below reading from "DOTNET_ENVIRONMENT" environment variable for example.
To pass the environment to apm, add the environment variable "ELASTIC_APM_ENVIRONMENT". This variable can be set by the application settings in the Azure Portal.
You can also set this setting during the startup of the Azure Function:
Currently it has no way to pass the service environment to apm. It could be easily added somewhere around the line below reading from "DOTNET_ENVIRONMENT" environment variable for example.
Does it have any appetite on adding it? Thanks!
apm-agent-dotnet/src/azure/Elastic.Apm.Azure.Functions/AzureFunctionsContext.cs
Line 48 in 038ece7
The text was updated successfully, but these errors were encountered: