diff --git a/coveralls.json b/coveralls.json index a06860dd4f..a26f385d4e 100644 --- a/coveralls.json +++ b/coveralls.json @@ -9,13 +9,16 @@ "skip_files": [ "lib/alerts/supervisor.ex", "lib/cms/custom_html5_scrubber.ex", + "lib/dotcom/cache/telemetry.ex", "lib/dotcom/redis/behaviour.ex", "lib/dotcom/redix/behaviour.ex", "lib/dotcom/redix/pub_sub/behaviour.ex", + "lib/dotcom/telemetry.ex", "lib/dotcom_web.ex", "lib/dotcom_web/live/admin", "lib/dotcom_web/controllers/bus_stop_change_controller.ex", "lib/dotcom_web/views/bus_stop_change_view.ex", + "lib/dotcom_web/telemetry.ex", "lib/feedback/test.ex", "lib/feedback/fake_date_time.ex", "lib/feedback/mock_aws.ex", @@ -23,9 +26,11 @@ "lib/green_line/cache_supervisor.ex", "lib/mbta/api/behaviour.ex", "lib/mix/tasks", + "lib/req/telemetry.ex", "lib/route_patterns/mock_repo.ex", "lib/routes/routes.ex", "lib/routes/mock_repo_api.ex", + "lib/telemetry/helper.ex", "lib/trip_plan/api/mock_planner.ex", "lib/trip_plan/geocode/mock_geocode.ex", "test/algolia/support", diff --git a/lib/req/stats.ex b/lib/req/stats.ex index c7960a27c8..b04ad29c33 100644 --- a/lib/req/stats.ex +++ b/lib/req/stats.ex @@ -14,15 +14,6 @@ defmodule Req.Stats do Agent.start_link(fn -> initial_value end, name: __MODULE__) end - @doc """ - Stops the Agent and detaches from `[:finch, :recv, :stop]` telemetry events. - """ - def stop() do - :telemetry.detach("finch-recv-stop") - - Agent.stop(__MODULE__) - end - @doc """ Handles telemetry events and aggregates them by host, path, and status. """