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

feat: Implement aws eventbridge trigger handling #4192

Closed

Conversation

calindurnea
Copy link

@calindurnea calindurnea commented Aug 13, 2024

Resolves #4166.
Extends the aws lambda handled triggers with eventbridge specific events.

The minimum event structure is based on https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-events-structure.html and it contains:

{
  "detail-type": "event name",
  "source": "event source",
  "detail": {
    JSON object
  }
}

The full event that can be handled is the following:

{
  "version": "0",
  "id": "UUID",
  "detail-type": "event name",
  "source": "event source",
  "account": "ARN",
  "time": "timestamp",
  "region": "region",
  "resources": [
    "ARN"
  ],
  "detail": {
    "traceparent": "00-traceId-spanId",
    ...
  }
}

Checklist

  • Implement code
  • Add tests
  • Update TypeScript typings
  • Update documentation
  • Add CHANGELOG.asciidoc entry
  • Commit message follows commit guidelines

@calindurnea calindurnea changed the title Implement eventbus trigger feat: Implement aws eventbridge trigger handling Aug 13, 2024
@calindurnea calindurnea closed this Sep 1, 2024
@calindurnea calindurnea deleted the implement-eventbus-trigger branch September 1, 2024 08:18
@trentm
Copy link
Member

trentm commented Sep 3, 2024

@calindurnea I'm sorry we didn't even respond to you in a timely manner.

@trentm
Copy link
Member

trentm commented Sep 3, 2024

Oh, or was this obsoleted by #4208 ?

@calindurnea
Copy link
Author

@trentm no worries! It was obsoleted by the other PR i have created.

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

Successfully merging this pull request may close these issues.

Support aws EventBridge instrumentation
2 participants