Skip to content

Commit 7e28bf3

Browse files
authored
Merge branch 'main' into update-container
2 parents 9fd510c + 9976c94 commit 7e28bf3

File tree

1 file changed

+14
-1
lines changed
  • detectors/node/opentelemetry-resource-detector-alibaba-cloud

1 file changed

+14
-1
lines changed

detectors/node/opentelemetry-resource-detector-alibaba-cloud/README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,19 @@ const tracerProvider = new NodeTracerProvider({ resource });
2828

2929
## Available detectors
3030

31-
- `alibabaCloudEcsDetector`: Populates `cloud` and `host` for processes running on [Alibaba Cloud ECS](https://www.alibabacloud.com/product/ecs).
31+
### Alibaba Cloud Ecs Detector
32+
33+
Populates `cloud` and `host` for processes running on [Alibaba Cloud ECS](https://www.alibabacloud.com/product/ecs). More info about Alibaba Instance Identities can be found [here](https://www.alibabacloud.com/help/en/ecs/user-guide/use-instance-identities).
34+
35+
| Resource Attribute | Description |
36+
|-------------------------|-----------------------------------------------------------------|
37+
| cloud.account.id | Value of `owner-account-id` on Alibaba Cloud |
38+
| cloud.availability_zone | Value of `zone-id` on Alibaba Cloud |
39+
| cloud.platform | In this context, it's always `alibaba_cloud_ecs` |
40+
| cloud.provider | In this context, it's always `alibaba_cloud` |
41+
| cloud.region | Value of `region-id` on Alibaba Cloud |
42+
| host.id | Value of `instance-id` on Alibaba Cloud |
43+
| host.name | The hostname for the app, retrieve from the `hostname` endpoint |
44+
| host.type | Value of `instance-type` on Alibaba Cloud |
3245

3346
[resource-semantic_conventions]: https://github.com/open-telemetry/opentelemetry-specification/tree/master/specification/resource/semantic_conventions

0 commit comments

Comments
 (0)