Skip to content

Commit

Permalink
ignore files for coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonyshull committed May 8, 2024
1 parent b518e61 commit 0a7375f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
5 changes: 5 additions & 0 deletions coveralls.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,28 @@
"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",
"lib/green_line/supervisor.ex",
"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",
Expand Down
9 changes: 0 additions & 9 deletions lib/req/stats.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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.
"""
Expand Down

0 comments on commit 0a7375f

Please sign in to comment.