Current section
Files
Jump to
Current section
Files
lib/prometheus_telemetry/utils.ex
defmodule PrometheusTelemetry.Utils do
@moduledoc false
def app_loaded?(app_name) do
Enum.any?(Application.loaded_applications(), fn {dep_name, _, _} -> dep_name === app_name end)
end
end