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

instrumentation for aws-sdk-lambda #2926

Merged
merged 11 commits into from
Nov 5, 2024
Merged

instrumentation for aws-sdk-lambda #2926

merged 11 commits into from
Nov 5, 2024

Commits on Oct 29, 2024

  1. instrumentation for aws-sdk-lambda

    Instrument the aws-sdk-lambda gem and upon function invocations
    performed by the client, create external request segments that include
    AWS resource information.
    fallwith committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    a4e33a5 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2024

  1. aws-sdk-lambda: error handling

    there are 2 routes errors can take:
    
    * exceptions thrown from the client SDK
      * used for HTTP 4xx/5xx responses
      * use for the client SDK itself raising an internal error
    * an unhandled function error which sets the `:function_error` key in
      the response
    fallwith committed Oct 30, 2024
    Configuration menu
    Copy the full SHA
    26f4d12 View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2024

  1. aws-sdk-lambda requires Ruby 2.5+

    require Ruby 2.5+ for testing aws-sdk-lambda
    fallwith committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    a633141 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e1ee29f View commit details
    Browse the repository at this point in the history
  3. glean aws account id from config

    update to match dev changes regarding AWS account id
    fallwith committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    9d8669c View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2024

  1. aws-sdk-lambda: add unit test for lambda

    The function invocation methods offered by the aws-sdk-lambda gem take
    the `:function_name` argument in the form of `<function name>:<alias>`
    or `<function name>:<version>` when an alias or version is involved. The
    agent will simply preserve the extra info and the colon delimiter and
    segment naming and AWS arn creation will simply end up doing the right
    thing with the extra alias or version info.
    fallwith committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    6a188e4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ce34c29 View commit details
    Browse the repository at this point in the history
  3. changelog entry for aws-sdk-lambda support

    update CHANGELOG.md for aws-sdk-lambda
    fallwith committed Nov 1, 2024
    Configuration menu
    Copy the full SHA
    eac1423 View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2024

  1. aws-sdk-lambda: DRY up region fetch

    don't attempt to determine the region twice within a single method and
    simply re-use the result of the single call
    fallwith committed Nov 2, 2024
    Configuration menu
    Copy the full SHA
    7d64822 View commit details
    Browse the repository at this point in the history
  2. aws-sdk-lambda: remove boilerplate comment

    remove large source code comment that exists in the instrumentation
    generator as boilerplate for the new instrumentation author to review
    and remove
    fallwith committed Nov 2, 2024
    Configuration menu
    Copy the full SHA
    375db67 View commit details
    Browse the repository at this point in the history
  3. aws-sdk-lambda: improve error handling

    use separate error handling for errors raised by the gem itself and
    errors raised by the agent.
    
    Errors raised by the gem need to be noticed by the agent (sent to New
    Relic) and re-raised to the user's app.
    
    Errors raised by the agent need to be logged but not impact the
    returning of the successful gem invocation response.
    
    Co-authored-by: Kayla Reopelle <87386821+kaylareopelle@users.noreply.github.com>
    fallwith and kaylareopelle committed Nov 2, 2024
    Configuration menu
    Copy the full SHA
    0a1527d View commit details
    Browse the repository at this point in the history