mtrudel/bandit

Otel question

pdgonzalez872 opened this issue · 2 comments

Hi @mtrudel ! Thanks for Bandit!

I've been using it in production for a couple of months and things have worked well!

Quick question about opentelemetry: I see this lib on hex: https://github.com/samokat-oss/opentelemetry-bandit and was wondering if this is the way we should use otel with bandit?

Here is a commit that adds the above to the opentelemetry getting started guide: open-telemetry/opentelemetry.io@d02ad9d. I wanted to check with you first before opening a PR to add it.

If this is not the way, what should we use?

Thanks again!

I just saw this: https://github.com/open-telemetry/opentelemetry-erlang-contrib/tree/main/instrumentation/opentelemetry_bandit.

Interesting! Maybe it's just a typo in the Github link on hex? That's how I got to that personal repo.

https://hex.pm/packages/opentelemetry_bandit should resolve to the opentelemetry-erlang-contrib one I think, so the instructions in the commit are valid, but there could be a typo somewhere :)

Closing this in favor of this discussion: https://elixir-lang.slack.com/archives/CA4CNK38B/p1716315868973869

a release will fix the issue I posted above. Thanks!!