Skip to content

Commit b59a43c

Browse files
authored
Clarify supported cloud.platform values (#393)
1 parent cd2b912 commit b59a43c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/docs/getting-started/x-ray.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ exporters:
9898
| Status.StatusCode | throttle | <ul><li> When StatusCode = Error then error is set to true for a 429 HTTP response. The exception stack trace is captured in the exception field. Any other values of StatusCode result in throttle being set to false. </li></ul> |
9999
| Event | exception | <ul><li> This field is populated by span exception events when the StatusCode = Error ; all other span events are dropped. </li></ul> |
100100
| Link | N/A | <ul><li> Not currently supported by the exporter. </li></ul> |
101-
| cloud.provider and cloud.platform | origin | <ul><li> If value of cloud.provider attribute key within span resource attributes = “aws", then the exporter copies the value from cloud.platform attribute key to the origin field, if the cloud.platform key is one of the following supported values: AppRunner, EKS, EB, ECS and EC2. Any other cloud.platform key values then origin will not be set. </li></ul> |
101+
| cloud.provider and cloud.platform | origin | <ul><li> If value of `cloud.provider` attribute key within span resource attributes = “aws", then the exporter copies the value from cloud.platform attribute key to the origin field, if the cloud.platform key is one of the following supported values: `aws_app_runner`, `aws_eks`, `aws_elastic_beanstalk`, `aws_ecs` and `aws_ec2`. Any other cloud.platform key values then origin will not be set. </li></ul> |
102102
| rpc.system and aws.service | namespace | <ul><li> If namespace has not yet been set, and one of the following conditions is true, then namespace will be set to "aws": - rpc.system attribute key = "aws-api" - aws.service attribute key is not empty. </li><li> If namespace has not yet been set, and spankind = "client", then namespace is set to "remote". In all other cases, namespace is not set. </li></ul> |
103103
| peer.service, aws.service, db.service, service.name, span.kind, and span name | name | <ul><li> Name field is set to peer.service if not empty. </li><li> If peer.service is empty and aws.service attribute key is not empty, name is set to aws.service. </li><li> If aws.service is empty and db.service attribute key is not empty, name is set to db.service. </li><li> If none of these attribute keys has a value, and span.kind = "Server", then name is set to value of service.name attribute key. </li><li> If none of the prior conditions are met, name is set to the name of the span. </li></ul> |
104104
| pdata.SpanKindServer | type | <ul><li> If span.kind = "Server" then the exporter creates an X-Ray segment. Otherwise a subsegment is created. </li></ul> |

0 commit comments

Comments
 (0)