Skip to content

Commit

Permalink
Update Documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
rfavreau committed Apr 1, 2024
1 parent ed23209 commit 11a6736
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions docs/configuration.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,29 @@ The service must then be restarted for the change to take effect
Restart-Service <service-name>
----

[[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

Expand Down

0 comments on commit 11a6736

Please sign in to comment.