Skip to content

Implement execute_lazy/{2,3} - #151

Merged
josevalim merged 1 commit into
beam-telemetry:mainfrom
hauleth:push-wrpyympnlvow
Aug 22, 2026
Merged

Implement execute_lazy/{2,3}#151
josevalim merged 1 commit into
beam-telemetry:mainfrom
hauleth:push-wrpyympnlvow

Conversation

@hauleth

@hauleth hauleth commented Apr 13, 2026

Copy link
Copy Markdown
Contributor

This allow to compute measurements and metadata only if there is anyone
listening for given events. That provides a way to expose metrics that
can be slightly more expensive to compute.

Closes #150

This allow to compute measurements and metadata only if there is anyone
listening for given events. That provides a way to expose metrics that
can be slightly more expensive to compute.

Closes beam-telemetry#150
@hauleth
hauleth force-pushed the push-wrpyympnlvow branch from e596f65 to da3bb41 Compare August 21, 2026 21:03
@josevalim

Copy link
Copy Markdown
Contributor

Do we need a new function name? Maybe we could allow functions to be given instead to execute?

@hauleth

hauleth commented Aug 22, 2026 via email

Copy link
Copy Markdown
Contributor Author

@josevalim
josevalim merged commit d5f3d7d into beam-telemetry:main Aug 22, 2026
5 checks passed
@josevalim

Copy link
Copy Markdown
Contributor

💚 💙 💜 💛 ❤️

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

RFC: Add telemetry:execute/2 that will take a function as 2nd argument

2 participants