Skip to content
This repository has been archived by the owner on Sep 2, 2023. It is now read-only.

Commit

Permalink
hack1
Browse files Browse the repository at this point in the history
  • Loading branch information
styblope committed Nov 2, 2022
1 parent 834362d commit 0bc71d4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/opentelemetry_ecto.ex
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@ defmodule OpentelemetryEcto do
source: source,
"db.instance": database,
"db.url": url,
"db.system": "postgres",
"net.peer.port": "5432",
"net.peer.name": repo.config()[:hostname],
"total_time_#{time_unit}s": System.convert_time_unit(total_time, :native, time_unit)
}

Expand Down

0 comments on commit 0bc71d4

Please sign in to comment.