Skip to content

Commit

Permalink
[chore][processor/resourcedetection] Fix dead links in README (open-t…
Browse files Browse the repository at this point in the history
…elemetry#28669)

There are a number of links in the resource detection processor's README
that are pointing to the old spec repo. This was causing `check-links`
to fail.
  • Loading branch information
crobert-1 authored Oct 27, 2023
1 parent 0e31b6c commit 511b04b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions processor/resourcedetectionprocessor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<!-- end autogenerated section -->

The resource detection processor can be used to detect resource information from the host,
in a format that conforms to the [OpenTelemetry resource semantic conventions](https://github.com/open-telemetry/opentelemetry-specification/tree/main/specification/resource/semantic_conventions/), and append or
in a format that conforms to the [OpenTelemetry resource semantic conventions](https://github.com/open-telemetry/semantic-conventions/tree/main/docs/resource), and append or
override the resource value in telemetry data with this information.

## Supported detectors
Expand Down Expand Up @@ -133,7 +133,7 @@ We map these environment variables to resource attributes as follows:
| `HEROKU_RELEASE_VERSION` | `service.version` |
| `HEROKU_SLUG_COMMIT` | `heroku.release.commit` |

For more information, see the [Heroku cloud provider documentation](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/resource/semantic_conventions/cloud_provider/heroku.md) under the [OpenTelemetry specification semantic conventions](https://github.com/open-telemetry/opentelemetry-specification).
For more information, see the [Heroku cloud provider documentation](https://github.com/open-telemetry/semantic-conventions/blob/main/docs/resource/cloud-provider/heroku.md) under the [OpenTelemetry specification semantic conventions](https://github.com/open-telemetry/semantic-conventions).

```yaml
processors:
Expand Down Expand Up @@ -334,21 +334,21 @@ processors:
Uses the AWS Lambda [runtime environment variables](https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html#configuration-envvars-runtime)
to retrieve the following resource attributes:

[Cloud semantic conventions](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/resource/semantic_conventions/cloud.md)
[Cloud semantic conventions](https://github.com/open-telemetry/semantic-conventions/blob/main/docs/resource/cloud.md)

* `cloud.provider` (`"aws"`)
* `cloud.platform` (`"aws_lambda"`)
* `cloud.region` (`$AWS_REGION`)

[Function as a Service semantic conventions](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/resource/semantic_conventions/faas.md)
and [AWS Lambda semantic conventions](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/semantic_conventions/instrumentation/aws-lambda.md#resource-detector)
[Function as a Service semantic conventions](https://github.com/open-telemetry/semantic-conventions/blob/main/docs/resource/faas.md)
and [AWS Lambda semantic conventions](https://github.com/open-telemetry/semantic-conventions/blob/main/docs/faas/aws-lambda.md)

* `faas.name` (`$AWS_LAMBDA_FUNCTION_NAME`)
* `faas.version` (`$AWS_LAMBDA_FUNCTION_VERSION`)
* `faas.instance` (`$AWS_LAMBDA_LOG_STREAM_NAME`)
* `faas.max_memory` (`$AWS_LAMBDA_FUNCTION_MEMORY_SIZE`)

[AWS Logs semantic conventions](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/resource/semantic_conventions/cloud_provider/aws/logs.md)
[AWS Logs semantic conventions](https://github.com/open-telemetry/semantic-conventions/blob/main/docs/resource/cloud-provider/aws/logs.md)

* `aws.log.group.names` (`$AWS_LAMBDA_LOG_GROUP_NAME`)
* `aws.log.stream.names` (`$AWS_LAMBDA_LOG_STREAM_NAME`)
Expand Down

0 comments on commit 511b04b

Please sign in to comment.