-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(serverless monitoring): Azure functions monitoring #19616
Changes from 2 commits
d90240a
893f5fb
094035a
56b37f5
2f4c1f9
e3fc38f
9e615ab
d560c65
f44fc2d
26c537c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
--- | ||
title: Compatibility and requirements for instrumenting Azure functions | ||
metaDescription: Azure function monitoring agent compatibility and requirements. | ||
freshnessValidatedDate: never | ||
--- | ||
|
||
Before you [instrument Azure functions](/docs/serverless-function-monitoring/aws-lambda-monitoring/instrument-lambda-function/configure-serverless-aws-monitoring), make sure your system meets the following requirements. | ||
|
||
## Basic requirements [#requirements] | ||
|
||
|
||
* A New Relic account with either an [admin role](/docs/accounts/original-accounts-billing/original-users-roles/users-roles-original-user-model/#roles) or have the **Infrastructure manager** [add-on role](/docs/accounts/original-accounts-billing/original-users-roles/users-roles-original-user-model#add-on). | ||
|
||
* A <InlinePopover type="userKey" />. | ||
|
||
|
||
<Callout variant="tip" title="NOTE"> | ||
|
||
Distributed tracing is supported for HTTP requests only. | ||
Check notice on line 19 in src/content/docs/serverless-function-monitoring/azure-function-monitoring/compatibility-requirement-azure-monitoring.mdx GitHub Actions / vale[vale] src/content/docs/serverless-function-monitoring/azure-function-monitoring/compatibility-requirement-azure-monitoring.mdx#L19
Raw output
|
||
</Callout> | ||
|
||
|
||
|
||
|
||
|
||
## Supported runtimes | ||
|
||
Based on your hosting environment, the following runtimes are supported. | ||
Check notice on line 28 in src/content/docs/serverless-function-monitoring/azure-function-monitoring/compatibility-requirement-azure-monitoring.mdx GitHub Actions / vale[vale] src/content/docs/serverless-function-monitoring/azure-function-monitoring/compatibility-requirement-azure-monitoring.mdx#L28
Raw output
|
||
|
||
<Tabs> | ||
<TabsBar> | ||
|
||
<TabsBarItem id="1">Linux</TabsBarItem> | ||
<TabsBarItem id="2">Windows</TabsBarItem> | ||
<TabsBarItem id="3">Containerized functions</TabsBarItem> | ||
|
||
</TabsBar> | ||
<TabsPages> | ||
|
||
|
||
<TabsPageItem id="1"> | ||
* .NET: `dotnet10.30.0` | ||
|
||
</TabsPageItem> | ||
|
||
|
||
<TabsPageItem id="2"> | ||
|
||
* .NET: `dotnet10.30.0` | ||
|
||
</TabsPageItem> | ||
|
||
<TabsPageItem id="3"> | ||
|
||
* .NET: `dotnet10.30.0` | ||
</TabsPageItem> | ||
|
||
</TabsPages> | ||
|
||
</Tabs> | ||
|
||
## What's next | ||
|
||
<DocTiles> | ||
<DocTile title="Install and configure Azure functions monitoring" path="/docs/serverless-function-monitoring/azure-function-monitoring/install-serverless-azure-monitoring" >Get started with instrumentation and configuration for your Azure functions</DocTile> | ||
|
||
</DocTiles> | ||
|
||
|
||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
--- | ||
title: Environment variables for Azure function monitoring | ||
metaDescription: "Configure environment variables to monitor your Azure functions with New Relic" | ||
freshnessValidatedDate: never | ||
tags: | ||
- AWS Lambda | ||
- Environment Variables | ||
- Configuration | ||
- Secrets Management | ||
--- | ||
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. | ||
Check notice on line 11 in src/content/docs/serverless-function-monitoring/azure-function-monitoring/env-variables-azure.mdx GitHub Actions / vale[vale] src/content/docs/serverless-function-monitoring/azure-function-monitoring/env-variables-azure.mdx#L11
Raw output
|
||
|
||
<table> | ||
<thead> | ||
<tr> | ||
<th>Environment variable</th> | ||
<th>Default value</th> | ||
<th>Options</th> | ||
<th>Description</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<td>`CORECLR_ENABLE_PROFILING`</td> | ||
<td>`0`</td> | ||
<td>`0`, `1`</td> | ||
<td>**Required**: Enable profiling by setting this to `1`</td> | ||
</tr> | ||
<tr> | ||
<td>`CORECLR_PROFILER`</td> | ||
<td></td> | ||
<td></td> | ||
<td>**Required**: Set this to enable the .NET agent</td> | ||
</tr> | ||
<tr> | ||
<td>`CORECLR_NEWRELIC_HOME`</td> | ||
<td></td> | ||
<td></td> | ||
<td>**Required**: Set this to enable the .NET agent</td> | ||
</tr> | ||
<tr> | ||
<td>`CORECLR_PROFILER_PATH`</td> | ||
<td></td> | ||
<td></td> | ||
<td>**Required**: Set this to enable the .NET agent</td> | ||
</tr> | ||
|
||
<tr> | ||
<td>`NEW_RELIC_DISTRIBUTED_TRACING_ENABLED`</td> | ||
<td>`true`</td> | ||
<td>`true`, `false`</td> | ||
<td>Generate traces by enabling distributed tracing</td> | ||
</tr> | ||
|
||
<tr> | ||
<td>`NEW_RELIC_APP_NAME`</td> | ||
<td></td> | ||
<td></td> | ||
<td>Set the application name, though it is not used in the New Relic UI</td> | ||
</tr> | ||
<tr> | ||
<td>`NEW_RELIC_AZURE_FUNCTION_MODE_ENABLED`</td> | ||
<td>`1`</td> | ||
<td>`1`, `0`</td> | ||
<td>Disable Azure functio mode by setting thr value to `0`</td> | ||
</tr> | ||
<tr> | ||
<td>`NEW_RELIC_LOG_DIRECTORY`</td> | ||
<td></td> | ||
<td></td> | ||
<td>Modify the location where you want to strore the agent and profiler logs. </td> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Spelling error - store There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. fixed |
||
</tr> | ||
<tr> | ||
<td>`NEW_RELIC_LOG_LEVEL`</td> | ||
<td>`info`</td> | ||
<td>`info`, `debug`, `finest`</td> | ||
<td>Set the agent log level</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
|
||
|
||
## What's next | ||
|
||
<DocTiles> | ||
<DocTile title="Install and configure Azure functions monitoring" path="/docs/serverless-function-monitoring/azure-function-monitoring/install-serverless-azure-monitoring" >Get started with instrumentation and configuration for your Azure functions</DocTile> | ||
|
||
</DocTiles> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Spelling error - function
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed