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

Enhanced AWS Lambda serverless functionality #2811

Merged
merged 14 commits into from
Aug 19, 2024
Merged

Enhanced AWS Lambda serverless functionality #2811

merged 14 commits into from
Aug 19, 2024

Commits on Aug 13, 2024

  1. Enhanced AWS Lambda serverless functionality

    - Introduce support for parsing distributed tracing information for HTTP based
      trigger invocations of the instrumented Lambda function
    - Both AWS API Gateway versions 1.0 and 2.0 are supported
    - For web driven invocations of an instrumented function, categorize the
      invocation as being "web" based, and record relevant HTTP information
      including the method, URI, and status code post invocation.
    - Recognize and report on fully 12 separate AWS resources that are capable of
      triggering a Lambda function invocation: ALB, API Gateway V1, API Gateway V2,
      CloudFront, CloudWatch Scheduler, DynamoStreams, Firehose, Kinesis, S3, SES,
      SNS, and SQS.
    - If an AWS resource based trigger is identified, record at least the type
      of the resource and the relevant arn. For many resources, also record
      additional context specific information. For example, for an S3 based
      invocation, record the S3 bucket name.
    fallwith committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    420c374 View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2024

  1. ServerlessHandlerEventSources: json loading fixes

    - utilize the constant pointing to the JSON source file
    - only read from the JSON source file once
    fallwith committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    4677f2e View commit details
    Browse the repository at this point in the history
  2. serverless tests: require Ruby 3.2+ for 12 types

    for the dozen AWS resources under test, require Ruby 3.2+
    fallwith committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    af5a204 View commit details
    Browse the repository at this point in the history
  3. serverless: additional Ruby v3.2+ constraints

    skip unless Ruby v3.2+ (minimum available AWS Lambda runtime)
    fallwith committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    c115011 View commit details
    Browse the repository at this point in the history
  4. serverless test: additional skips

    constrain all relevant tests to Ruby 3.2+
    fallwith committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    53ef893 View commit details
    Browse the repository at this point in the history
  5. serverless handler: use #dup

    don't destructively alter the hash - use #dup instead
    fallwith committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    60c2850 View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2024

  1. Update CHANGELOG.md

    Co-authored-by: Hannah Ramadan <76922290+hannahramadan@users.noreply.github.com>
    fallwith and hannahramadan authored Aug 15, 2024
    Configuration menu
    Copy the full SHA
    0d693d3 View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2024

  1. Configuration menu
    Copy the full SHA
    8dbb901 View commit details
    Browse the repository at this point in the history
  2. Update CHANGELOG.md

    tense fix for lambda updates
    
    Co-authored-by: Kayla Reopelle <87386821+kaylareopelle@users.noreply.github.com>
    fallwith and kaylareopelle authored Aug 16, 2024
    Configuration menu
    Copy the full SHA
    3b4cb7b View commit details
    Browse the repository at this point in the history
  3. Update CHANGELOG.md

    use bullets for the lambda enhancements
    
    Co-authored-by: Kayla Reopelle <87386821+kaylareopelle@users.noreply.github.com>
    fallwith and kaylareopelle authored Aug 16, 2024
    Configuration menu
    Copy the full SHA
    9271b6b View commit details
    Browse the repository at this point in the history
  4. serverless: remove rescue left over from testing

    remove `rescue` that was intended to be temporary
    fallwith committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    c27f24c View commit details
    Browse the repository at this point in the history
  5. serverless: leverage #each_value

    use `each_value` instead of `each` with `_key`
    fallwith committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    af52a76 View commit details
    Browse the repository at this point in the history
  6. serverless tests: skip unless Ruby 3.2+

    the serverless handler is only used with Ruby v3.2+, so only test with
    Ruby v3.2+
    fallwith committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    839bb1b View commit details
    Browse the repository at this point in the history
  7. serverless don't freeze a regex constant

    removed redundant freezing
    fallwith committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    f3768db View commit details
    Browse the repository at this point in the history