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

Use :telemetry.attach/4 in examples. #463

Merged
merged 1 commit into from
Jul 26, 2021

Conversation

maartenvanvliet
Copy link
Contributor

Arity 3 does not exist here, the fourth argument is the handler config https://hexdocs.pm/telemetry/index.html that can be nil.

In the examples an anonymous function is passed in. For performance reasons these should be avoided. So perhaps that should be changed as well?

arity 3 does not exist here, the fourth argument is the handler config https://hexdocs.pm/telemetry/index.html that can be nil.
@teamon
Copy link
Member

teamon commented Jul 26, 2021

Thanks,I'd keep the examples minimal as they are now.

@teamon teamon merged commit 3549695 into elixir-tesla:master Jul 26, 2021
@maartenvanvliet maartenvanvliet deleted the patch-1 branch July 26, 2021 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants