diff --git a/lib/prometheus/ecto_instrumenter.ex b/lib/prometheus/ecto_instrumenter.ex index c1def53..5c92771 100644 --- a/lib/prometheus/ecto_instrumenter.ex +++ b/lib/prometheus/ecto_instrumenter.ex @@ -228,7 +228,7 @@ defmodule Prometheus.EctoInstrumenter do name: unquote(stage_metric_name(stage, duration_unit)), labels: labels ], - microseconds_time(value) + value ) end end @@ -268,10 +268,6 @@ defmodule Prometheus.EctoInstrumenter do value end end - - defp microseconds_time(time) do - System.convert_time_unit(time, :native, :microsecond) - end end end