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

Emit events for observation #102

Open
dfarr opened this issue Apr 16, 2024 · 0 comments
Open

Emit events for observation #102

dfarr opened this issue Apr 16, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@dfarr
Copy link
Member

dfarr commented Apr 16, 2024

Implement a pub/sub inspired system that emits information from the sdk event loop. This information can be used to integrate with third party observation frameworks such as opentelemetry.

At a minimum we should emit:

  • function execution started
  • function attempt started
  • function attempt finished (successfully or unsuccessfully)
  • function execution finished (successfully or unsuccessfully)

We also need to include call stack information so subscribers can now about the nested nature of function calls.

@dfarr dfarr added the enhancement New feature or request label Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant