eecb238cff
By default a new trace is automatically started when a job is processed by monitoring these events: * `[:oban, :job, :start]` — at the point a job is fetched from the database and will execute * `[:oban, :job, :stop]` — after a job succeeds and the success is recorded in the database * `[:oban, :job, :exception]` — after a job fails and the failure is recorded in the database To also record a span when a job is created and to link traces together `Oban.insert/2` has to be replaced by `OpentelemetryOban.insert/2`. Before: ```elixir %{id: 1, in_the: "business", of_doing: "business"} |> MyApp.Business.new() |> Oban.insert() ``` After: ```elixir %{id: 1, in_the: "business", of_doing: "business"} |> MyApp.Business.new() |> OpentelemetryOban.insert() ``` Co-authored-by: Tristan Sloughter <t@crashfast.com>
22 lines
750 B
Plaintext
22 lines
750 B
Plaintext
#####################################################
|
|
#
|
|
# List of approvers for OpenTelemetry Erlang repository
|
|
#
|
|
#####################################################
|
|
#
|
|
# Learn about membership in OpenTelemetry community:
|
|
# https://github.com/open-telemetry/community/blob/main/community-membership.md
|
|
#
|
|
#
|
|
# Learn about CODEOWNERS file format:
|
|
# https://help.github.com/en/articles/about-code-owners
|
|
#
|
|
|
|
@open-telemetry/erlang-approvers
|
|
|
|
/instrumentation/opentelemetry_cowboy @bryannaegele @tsloughter
|
|
/instrumentation/opentelemetry_ecto @bryannaegele @tsloughter
|
|
/instrumentation/opentelemetry_oban @indrekj
|
|
/instrumentation/opentelemetry_phoenix @bryannaegele @tsloughter
|
|
/utilities/opentelemetry_telemetry @bryannaegele @tsloughter
|