Skip to content

Commit 6db26b4

Browse files
author
Jill Grant
authored
Merge pull request #287759 from mattchenderson/azfd0011
Clarifying AZFD0011 event details
2 parents 1f23336 + e1961ac commit 6db26b4

File tree

1 file changed

+8
-6
lines changed
  • articles/azure-functions/errors-diagnostics/diagnostic-events

1 file changed

+8
-6
lines changed

articles/azure-functions/errors-diagnostics/diagnostic-events/azfd0011.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.date: 01/24/2024
99

1010
# AZFD0011: The FUNCTIONS_WORKER_RUNTIME setting is required
1111

12-
This event occurs when a function app doesn't have the `FUNCTIONS_WORKER_RUNTIME` application setting, which is required.
12+
This event occurs when a function app doesn't have a value for the `FUNCTIONS_WORKER_RUNTIME` application setting, which is required.
1313

1414
| | Value |
1515
|-|-|
@@ -18,18 +18,20 @@ This event occurs when a function app doesn't have the `FUNCTIONS_WORKER_RUNTIME
1818

1919
## Event description
2020

21-
The `FUNCTIONS_WORKER_RUNTIME` application setting indicates the language or language stack on which the function app runs, such as `python`. For more information on valid values, see the [`FUNCTIONS_WORKER_RUNTIME`](../../functions-app-settings.md#functions_worker_runtime) reference.
21+
The `FUNCTIONS_WORKER_RUNTIME` application setting indicates the language or language stack on which the function app runs, such as `python`. For more information on valid values, see the [`FUNCTIONS_WORKER_RUNTIME`][fwr] reference.
2222

23-
While not currently required, you should always specify `FUNCTIONS_WORKER_RUNTIME` for your function apps. When you don't have this setting and the Functions host can't determine the correct language or language stack, you might see exceptions or unexpected behaviors.
23+
You should always specify a valid `FUNCTIONS_WORKER_RUNTIME` for your function apps. When you don't have this setting and the Functions host can't determine the correct language or language stack, you might see performance degradations, exceptions, or unexpected behaviors. To ensure that your application operates as intended, you should explicitly set it in all of your existing function apps and deployment scripts.
2424

25-
Because `FUNCTIONS_WORKER_RUNTIME` is likely to become a required setting, you should explicitly set it in all of your existing function apps and deployment scripts to prevent any downtime in the future.
25+
The value of `FUNCTIONS_WORKER_RUNTIME` should align with the language stack used to create the deployed application payload. If these do not align, you may see the [`AZFD0013`](./azfd0013.md) event.
2626

2727
## How to resolve the event
2828

29-
In a production application, add `FUNCTIONS_WORKER_RUNTIME` to the [application settings](../../functions-how-to-use-azure-function-app-settings.md#settings).
29+
In a production application, set [`FUNCTIONS_WORKER_RUNTIME` to a valid value][fwr] in the [application settings](../../functions-how-to-use-azure-function-app-settings.md#settings). The value should align with the language stack used to create the application payload.
3030

31-
When running locally in Azure Functions Core Tools, also add `FUNCTIONS_WORKER_RUNTIME` to the [local.settings.json file](../../functions-develop-local.md#local-settings-file).
31+
When running locally in Azure Functions Core Tools, also set [`FUNCTIONS_WORKER_RUNTIME` to a valid value][fwr] in the [local.settings.json file](../../functions-develop-local.md#local-settings-file). The value should align with the language stack used in the local project.
3232

3333
## When to suppress the event
3434

3535
This event shouldn't be suppressed.
36+
37+
[fwr]: ../../functions-app-settings.md#functions_worker_runtime

0 commit comments

Comments
 (0)