Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Instrumentation for AWS Lambda handler function #828

Open
10 tasks
wangzlei opened this issue Jun 23, 2021 · 0 comments
Open
10 tasks

Add Instrumentation for AWS Lambda handler function #828

wangzlei opened this issue Jun 23, 2021 · 0 comments
Labels
area: instrumentation Related to an instrumentation package enhancement New feature or request instrumentation: otellambda

Comments

@wangzlei
Copy link
Contributor

wangzlei commented Jun 23, 2021

Background

Package Link: https://docs.aws.amazon.com/lambda/latest/dg/golang-handler.html

Support OpenTelemetry in AWS GoLang/Custom Runtime. Instrument user's handler function in AWS Lambda. Refer other language such as [Java](https://github.com/open-telemetry/opentelemetry-java-instrumentation/tree/main/instrumentation/aws-lambda-1.0), Js, [Python](https://github.com/open-telemetry/opentelemetry-lambda/tree/main/python/src/otel/otel_sdk/opentelemetry/instrumentation/aws_lambda), [.Net](https://github.com/open-telemetry/opentelemetry-dotnet-contrib/tree/main/src/OpenTelemetry.Contrib.Instrumentation.AWSLambda).

Proposed Solution

  1. generate span by wrapping user's Lambda handler function
  2. adding faas resource attributes by a LambdaReourceDetector

See OpenTelemetry Lambda proposal in https://github.com/open-telemetry/opentelemetry-lambda/blob/main/docs/design_proposal.md

Tracing

Metrics

Instruments

  • :
    • type:
    • unit:
    • description:
    • attributes:

Prior Art

Tasks

  • Code complete:
    • Comprehensive unit tests.
    • End-to-end integration tests.
    • Tests all passing.
    • Instrumentation functionality verified.
  • Documented
  • Examples
    • Dockerfile file to build example application.
    • docker-compose.yml to run example in a docker environment to demonstrate instrumentation.
@wangzlei wangzlei added area: instrumentation Related to an instrumentation package enhancement New feature or request release:after-ga labels Jun 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: instrumentation Related to an instrumentation package enhancement New feature or request instrumentation: otellambda
Projects
None yet
Development

No branches or pull requests

2 participants