Skip to content

Commit 7888a0c

Browse files
fixes formatting
1 parent 4cf7cb0 commit 7888a0c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/new_relic/telemetry/plug.ex

+3-1
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ defmodule NewRelic.Telemetry.Plug do
174174

175175
defp add_start_attrs(meta, system_time, :bandit) do
176176
headers = Map.new(meta.conn.req_headers)
177+
177178
[
178179
pid: inspect(self()),
179180
system_time: system_time,
@@ -214,7 +215,8 @@ defmodule NewRelic.Telemetry.Plug do
214215
status: status_code(meta),
215216
memory_kb: info[:memory] / @kb,
216217
reductions: info[:reductions],
217-
"bandit.resp_duration_ms": (meas[:resp_start_time] |> to_ms) - (meas[:resp_end_time] |> to_ms),
218+
"bandit.resp_duration_ms":
219+
(meas[:resp_start_time] |> to_ms) - (meas[:resp_end_time] |> to_ms),
218220
"bandit.resp_body_bytes": meas[:resp_body_bytes]
219221
]
220222
|> NewRelic.add_attributes()

0 commit comments

Comments
 (0)