You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This library provides custom resource detector for Azure App Services. OpenTelemetry Python has an experimental feature whereby Resource Detectors can be injected to Resource Attributes. This package includes a resource detector for Azure App Service. This detector fills out the following Resource Attributes:
11
-
* `service.name`
12
-
* `cloud.provider`
13
-
* `cloud.platform`
14
-
* `cloud.resource_id`
15
-
* `cloud.region`
16
-
* `deployment.environment`
17
-
* `host.id`
18
-
* `service.instance.id`
19
-
* `azure.app.service.stamp`
11
+
* `service.name` set to the value of the WEBSITE_SITE_NAME environment variable.
12
+
* `cloud.provider` set to the value of the "azure".
13
+
* `cloud.platform` set to the value of the "azure_app_service".
14
+
* `cloud.resource_id` set using the WEBSITE_RESOURCE_GROUP WEBSITE_OWNER_NAME and WEBSITE_SITE_NAME environment variables.
15
+
* `cloud.region` set to the value of the REGION_NAME environment variable.
16
+
* `deployment.environment` set to the value of the WEBSITE_SLOT_NAME environment variable.
17
+
* `host.id` set to the value of the WEBSITE_HOSTNAME environment variable.
18
+
* `service.instance.id` set to the value of the WEBSITE_INSTANCE_ID environment variable.
19
+
* `azure.app.service.stamp` set to the value of the WEBSITE_HOME_STAMPNAME environment variable.
0 commit comments