Environment variables are a way to store configuration and secrets outside of your code. The following tables display the mandatory variables and runtime specific variables that you can set to monitor your Azure functions with New Relic.
Environment variable | Default value | Options | Description |
---|---|---|---|
|
|
| Required. Enable profiling by setting this to |
| Required. Set this to enable the .NET agent. | ||
| Required. Set this to enable the .NET agent. | ||
| Required. Set this to enable the .NET agent. | ||
|
|
| Generate traces by enabling distributed tracing. |
| Set the application name, though it is not used in the New Relic UI. | ||
|
|
| Disable Azure Functions mode by setting the value to |
| Modify the location where you want to stroe the agent and profiler logs. | ||
|
|
| Set the agent log level. |