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

Automatically capture common HTTP attributes for Load Balancer/API Gateway events #1087

Open
ericksoen opened this issue May 11, 2022 · 0 comments

Comments

@ericksoen
Copy link

Is your feature request related to a problem?
We invoke our AWS Lambda functions from both an Elastic Load Balancer (ELB) and API Gateway. We perform manual instrumentation to add attributes like http.status_code, http.url, http.method, etc., but do this for every Lambda function that implements OpenTelemetry. This also introduces the possibility that teams deviate from the OpenTelemetry HTTP semantic conventions for attribubutes, e.g., http.statusCode (WRONG) vs. http.status_code (correct).

Describe the solution you'd like
Automatically capture common HTTP attributes for AWS Lambda invocations that originate from a Load Balancer or API Gateway.

Describe alternatives you've considered
Continue manually instrumenting Lambda functions to capture these properties (may be useful to provide more user control over potentially sensitive attributes like http.url and http.target (both of which includes query string params)

Additional context
Add any other context about the feature request here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant