Open
0 of 4 issues completedDescription
Problem Statement
https://develop.sentry.dev/sdk/telemetry/logs/
Sentry is adding support for structured logging. Let's add it to the Elixir SDK!
Solution Brainstorm
- Define the logs protocol and log envelope item in the SDK
- Add the Public API (SDK options and methods) as per the docs
- Make sure the the SDK follow the documented behavior
- Attach default attributes to the SDK as per docs
- Add logging integrations. We should support both Elixir
Logger
and erlangs's:logger
. With ElixirLogger
we should also make sure to add all the metadata directly as log attributes. We should sync about attribute naming before fully implementing. - Create a GH discussion that contains instructions for setting up the SDK in your repo. Eventually this will be moved into the primary docs. See the JS SDK's GH discussion for inspiration.