This website requires JavaScript.
Explore
Help
Register
Sign In
shadowfacts
/
opentelemetry-erlang-contrib
Watch
1
Star
0
Fork
You've already forked opentelemetry-erlang-contrib
0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
79aae558fe
opentelemetry-erlang-contrib
/
instrumentation
/
opentelemetry_phoenix
/
config
/
test.exs
5 lines
84 B
Elixir
Raw
Normal View
History
Unescape
Escape
Otel 1.0.0-rc.4 updates (#54) * Otel 1.0.0-rc.4 updates * Unused module attribute * Missed oban test
2021-12-28 23:39:06 +00:00
import
Config
Otel phoenix migration (#4) * Otel phoenix migration * Abandon dynamic matrix for now * Add project-level codeowners * Add examples and phoenix * Typo
2021-09-12 19:49:24 +00:00
config
:opentelemetry
,
Remove exporter race-condition on tests (#44) Default exporter immediately attempts on start connect to `:otel-collector` default port. As we don't have any collector running on our test environment, this results in a few warnings. That's not an issue in itself, as code immediately switches to another export, but creates a lot of noise. This patch moves the exporter setup to `config/test.exs`, essentially removing the need to restart opentelemetry applicationn for each test case. The only work setup blocks do is update the exporter's target pid. The processor was changed to simple mode, available now, which also remove another vector of (unlikely but theoretically possible) race-conditions.
2022-03-24 17:48:59 +00:00
processors
:
[
{
:otel_simple_processor
,
%{
}
}
]