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

Optimize Telemetry (to silence a logging message) #73

Merged
merged 1 commit into from
Sep 7, 2021

Conversation

JEG2
Copy link
Contributor

@JEG2 JEG2 commented Sep 7, 2021

This one-line change addresses the following logging output:

13:30:57.692 [info]  Function passed as a handler with ID :plug_cowboy is local function.
This mean that it is either anonymous function or capture of function without module specified. That may cause performance penalty when calling such handler. For more details see note in `telemetry:attach/4` documentation.

https://hexdocs.pm/telemetry/telemetry.html#attach-4

@josevalim josevalim merged commit f99fca9 into elixir-plug:master Sep 7, 2021
@josevalim
Copy link
Member

💚 💙 💜 💛 ❤️

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