opentelemetry-erlang-contrib/instrumentation/opentelemetry_cowboy/rebar.config

40 lines
1.1 KiB
Plaintext
Raw Permalink Normal View History

{erl_opts, [debug_info]}.
{deps, [
{cowboy_telemetry, "~> 0.4"},
{opentelemetry_api, "~> 1.2"},
{opentelemetry_telemetry, "~> 1.0"},
{telemetry, "~> 1.0"}
]}.
{project_plugins, [covertool,
erlfmt,
2024-02-14 01:09:42 +00:00
rebar3_ex_doc,
rebar3_hex]}.
2024-02-14 01:09:42 +00:00
{hex, [
{doc, #{provider => ex_doc}}
]}.
{ex_doc, [
{source_url, "https://github.com/open-telemetry/opentelemetry-erlang-contrib/tree/main/instrumentation/opentelemetry_cowboy"},
{extras, ["README.md", "LICENSE"]},
{main, "README.md"}]}.
{profiles,
2024-02-14 01:09:42 +00:00
[{test, [{erl_opts, [nowarn_export_all]},
{deps, [
{opentelemetry, "~> 1.3"},
{opentelemetry_exporter, "~> 1.6"},
{cowboy, "~> 2.10"}
]},
{paths, ["src", "test/support"]},
{ct_opts, [{ct_hooks, [cth_surefire]}]}]}]}.
{xref_checks, [undefined_function_calls, undefined_functions,
deprecated_function_calls, deprecated_functions]}.
{xref_ignores, []}.
{cover_enabled, true}.
{cover_export_enabled, true}.
{covertool, [{coverdata_files, ["ct.coverdata"]}]}.