Line: 15: incorrect format Line: 17: incorrect codeowner user: bryannaegele Line: 17: incorrect codeowner user: tsloughter Line: 17: no users/groups matched Line: 18: incorrect codeowner user: bryannaegele Line: 18: incorrect codeowner user: tsloughter Line: 18: no users/groups matched Line: 19: incorrect codeowner user: indrekj Line: 19: no users/groups matched Line: 20: incorrect codeowner user: bryannaegele Line: 20: incorrect codeowner user: tsloughter Line: 20: no users/groups matched Line: 21: incorrect codeowner user: bryannaegele Line: 21: incorrect codeowner user: tsloughter Line: 21: no users/groups matched
Indrek Juhkam eecb238cff
Add opentelemetry integration to Oban (#6)
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>
2021-12-08 08:41:36 -07:00

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