From 11a6736d3fa04656447ed57612f71c6f5dc1936b Mon Sep 17 00:00:00 2001 From: rfavreau Date: Mon, 1 Apr 2024 20:13:29 +0200 Subject: [PATCH] Update Documentation --- docs/configuration.asciidoc | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/docs/configuration.asciidoc b/docs/configuration.asciidoc index e4604ddfc..23c181260 100644 --- a/docs/configuration.asciidoc +++ b/docs/configuration.asciidoc @@ -135,6 +135,29 @@ The service must then be restarted for the change to take effect Restart-Service ---- +[[configuration-for-azure-functions]] +=== Configuration for Azure Functions +Configuration for Azure Functions can be provided by setting environment variables for +the specific Azure Functions using https://learn.microsoft.com/en-us/azure/azure-functions/functions-how-to-use-azure-function-app-settings?tabs=portal#settings[application settings in the Azure Portal]. + +[float] +[[config-overwritediscoverdefaultservicename]] +==== `Enabled` (added[1.27.0]) + +Setting this to `false` keeps the discover default service name. Else, the discover default service name is replaced by the Azure Functions name. + +[options="header"] +|============ +| Environment variable name | IConfiguration or Web.config key +| `ELASTIC_APM_OVERWRITE_DISCOVER_DEFAULT_SERVICE_NAME` | `ElasticApm:OverwriteDiscoverDefaultServiceName` +|============ + +[options="header"] +|============ +| Default | Type +| `true` | Boolean +|============ + [[configuration-on-asp-net]] === Configuration on ASP.NET