Skip to content

feat(bottlecap): add SQS inferred span#434

Merged
duncanista merged 27 commits intojordan.gonzalez/bottlecap/universal-instrumentationfrom
aj/sns-sqs
Nov 7, 2024
Merged

feat(bottlecap): add SQS inferred span#434
duncanista merged 27 commits intojordan.gonzalez/bottlecap/universal-instrumentationfrom
aj/sns-sqs

Conversation

@duncanista
Copy link
Copy Markdown
Contributor

@duncanista duncanista commented Nov 5, 2024

What?

Adds SQS inferred spans
Screenshot 2024-11-06 at 4 05 40 PM

How?

Allowing SQS events

Notes

Not doing SNS-SQS yet

@duncanista duncanista changed the base branch from main to jordan.gonzalez/bottlecap/universal-instrumentation November 5, 2024 18:16
@duncanista duncanista marked this pull request as ready for review November 6, 2024 21:06
@duncanista duncanista requested a review from a team as a code owner November 6, 2024 21:06
@duncanista duncanista merged commit 63e4ae3 into jordan.gonzalez/bottlecap/universal-instrumentation Nov 7, 2024
@duncanista duncanista deleted the aj/sns-sqs branch November 7, 2024 18:51
duncanista added a commit that referenced this pull request Nov 15, 2024
* wip: sqs

* feat: sqs tests

* invert duration check

* remove duration set

* fmt and add `test_get_arn`

* remove unneeded reference

* remove unneeded comments

* add `get_carrier` implementation for `SqsRecord`

* add trace context to `sqs_event.json`

* fix: resource_names is not needed

* fix: don't deserialize body

* avoid `use super::...`

* fix unit tests

* set carrier and trigger tags

* remove duplicate tag

* fmt

* pass headers to `on_invocation_end`

* infer first, then extract

or else theres nothing to extract, reset values also for next inferr, no need to keep state after we complete

* reset values on every infer

* move some constants

* add missing trigger tags

* missed one case

---------

Co-authored-by: AJ Stuyvenberg <astuyve@gmail.com>
duncanista added a commit that referenced this pull request Nov 19, 2024
* wip: sqs

* feat: sqs tests

* invert duration check

* remove duration set

* fmt and add `test_get_arn`

* remove unneeded reference

* remove unneeded comments

* add `get_carrier` implementation for `SqsRecord`

* add trace context to `sqs_event.json`

* fix: resource_names is not needed

* fix: don't deserialize body

* avoid `use super::...`

* fix unit tests

* set carrier and trigger tags

* remove duplicate tag

* fmt

* pass headers to `on_invocation_end`

* infer first, then extract

or else theres nothing to extract, reset values also for next inferr, no need to keep state after we complete

* reset values on every infer

* move some constants

* add missing trigger tags

* missed one case

---------

Co-authored-by: AJ Stuyvenberg <astuyve@gmail.com>
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.

3 participants