Documentation forSolarWinds Observability SaaS

Azure App Service instrumentation for Go

For a Go app running in an App Service custom container, the APM Go Library version 1.3.6 or later should be installed as part of container image creation, and initialized by the application as described in SolarWinds Observability | Install the Go Library.

Configure

Environment variables supported by APM Go can be set as app settings, in the Azure portal this is under Settings > Environment variables > App settings. These are the required settings:

Name Value
SW_APM_SERVICE_KEY The service name portion, that is, the string after :, is ignored and the App Service app name (WEBSITE_SITE_NAME) is used as the SolarWinds Observability service name. To override with an explicit service name, set the OTEL_SERVICE_NAME variable.
SW_APM_COLLECTOR

Determine based on your data center, for example:

apm.collector.na-01.cloud.solarwinds.com:443