opentelemetry-erlang-contrib icon indicating copy to clipboard operation
opentelemetry-erlang-contrib copied to clipboard

Depending on opentelemetry_cowboy will stop mix test

Open ebengt opened this issue 1 year ago • 0 comments

Describe the bug Create new mix project. Add {opentelemetry_cowboy, "~> 0.2"} to deps. Do

$ mix test
** (Mix) Could not start application telemetry_registry: could not find application file: telemetry_registry.app

When I check opentelemetry_cowboy it has
opentelemetry_cowboy/src/opentelemetry_cowboy.app.src:6: telemetry_registry]}, But no telemetry_registry in rebar.config for opentelemetry_cowboy

Expected behavior No complaints about missing teletry_registry when running test.

Additional context I mistakenly thought this was due to opentelemetry_telemetry, but this time I am right. Or I will be next time.

ebengt avatar Feb 13 '24 16:02 ebengt