Skip to content

Commit

Permalink
Add clarification of auto vs manual instrumentation for go/dotnet app…
Browse files Browse the repository at this point in the history
…lications
  • Loading branch information
arun-annamalai committed Jan 15, 2025
1 parent 915b48e commit c2e4c7f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,11 @@ These 2 layers are meant to be used in conjunction to instrument your lambda fun
* ### [Python Lambda Layer](python/README.md)
* ### [Java Lambda Layer](java/README.md)
* ### [NodeJS Lambda Layer](nodejs/README.md)
* ### [.NET Lambda Layer](dotnet/README.md)
* ### [Ruby Lambda Layer](ruby/README.md)
* ### [Go Lambda Layer](go/README.md)

## Additional language tooling not currently supported
* ### [Go Lambda Library](go/README.md)
* ### [.NET Lambda Layer](dotnet/README.md)

## FAQ

Expand Down
2 changes: 1 addition & 1 deletion dotnet/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# OpenTelemetry Lambda .NET

Nuget package and layer for running .NET applications on AWS Lambda with OpenTelemetry.
Nuget package for running .NET applications on AWS Lambda with OpenTelemetry.

## Provided SDK

Expand Down
6 changes: 5 additions & 1 deletion go/README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
# OpenTelemetry Lambda Go

Layer for running Go applications on AWS Lambda with OpenTelemetry.
Examples of Go applications on AWS Lambda with OpenTelemetry.

## Provided SDK

[OpenTelemetry Lambda SDK for Go](/~https://github.com/open-telemetry/opentelemetry-go-contrib/tree/main/instrumentation/github.com/aws/aws-lambda-go/otellambda) includes tracing APIs to instrument Lambda handler.
For other instrumentations, such as http, you'll need to include the corresponding library instrumentation from the [instrumentation project](/~https://github.com/open-telemetry/opentelemetry-go) and modify your code to use it in your function.

## Provided Layer

[OpenTelemetry Lambda Layer for Collector](https://aws-otel.github.io/docs/getting-started/lambda/lambda-go#lambda-layer) includes OpenTelemetry Collector for Lambda components. Follow [user guide](https://aws-otel.github.io/docs/getting-started/lambda/lambda-go#enable-tracing) to apply this layer to your Lambda handler that's already been instrumented with OpenTelemetry Lambda .NET SDK to enable end-to-end tracing.

## Sample application

The [sample application](/~https://github.com/open-telemetry/opentelemetry-lambda/tree/main/go/sample-apps/function/function.go) shows the manual instrumentations of OpenTelemetry Lambda Go SDK on a Lambda handler that triggers downstream requests to AWS S3 and HTTP.

0 comments on commit c2e4c7f

Please sign in to comment.