Skip to content

feat(bottlecap): add capture lambda payload#454

Merged
duncanista merged 5 commits intojordan.gonzalez/bottlecap/universal-instrumentationfrom
jordan.gonzalez/bottlecap/capture-lambda-payload
Nov 14, 2024
Merged

feat(bottlecap): add capture lambda payload#454
duncanista merged 5 commits intojordan.gonzalez/bottlecap/universal-instrumentationfrom
jordan.gonzalez/bottlecap/capture-lambda-payload

Conversation

@duncanista
Copy link
Copy Markdown
Contributor

@duncanista duncanista commented Nov 14, 2024

What?

Allow customers to capture the lambda payload for request and response
Screenshot 2024-11-14 at 2 28 38 PM
Screenshot 2024-11-14 at 2 28 44 PM

How?

Created a function which converts a serde_json::Value into span meta tags.

@duncanista duncanista marked this pull request as ready for review November 14, 2024 19:30
@duncanista duncanista requested a review from a team as a code owner November 14, 2024 19:30
@duncanista duncanista merged commit 56306a5 into jordan.gonzalez/bottlecap/universal-instrumentation Nov 14, 2024
@duncanista duncanista deleted the jordan.gonzalez/bottlecap/capture-lambda-payload branch November 14, 2024 21:32
duncanista added a commit that referenced this pull request Nov 15, 2024
* add `tag_span_from_value`

* add `capture_lambda_payload` config

* add unit testing for `tag_span_from_value`

* update listener `end_invocation_handler`

parsing should not be handled here

* add capture lambda payload feature

also parse body properly, and handle `statusCode`
duncanista added a commit that referenced this pull request Nov 19, 2024
* add `tag_span_from_value`

* add `capture_lambda_payload` config

* add unit testing for `tag_span_from_value`

* update listener `end_invocation_handler`

parsing should not be handled here

* add capture lambda payload feature

also parse body properly, and handle `statusCode`
duncanpharvey pushed a commit that referenced this pull request Mar 10, 2026
* add `tag_span_from_value`

* add `capture_lambda_payload` config

* add unit testing for `tag_span_from_value`

* update listener `end_invocation_handler`

parsing should not be handled here

* add capture lambda payload feature

also parse body properly, and handle `statusCode`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants