Current section
Files
Jump to
Current section
Files
opentelemetry_phoenixchannel
mix.exs
mix.exs
defmodule OpentelemetryPhoenixchannel.MixProject do
use Mix.Project
def project do
[
app: :opentelemetry_phoenixchannel,
version: "0.1.0",
elixir: "~> 1.14",
start_permanent: Mix.env() == :prod,
name: "Opentelemetry PhoenixChannel",
deps: deps(),
package: package()
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
defp package do
[
description: "OpenTelemetry tracing for the Phoenix.Channels",
files: ~w(lib .formatter.exs mix.exs README* LICENSE*),
licenses: ["MIT"],
links: %{
"GitHub" => "https://github.com/h3poteto/opentelemetry_phoenixchannel"
}
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:telemetry, "~> 0.4 or ~> 1.0"},
{:opentelemetry, "~> 1.0"},
{:opentelemetry_telemetry, "~> 1.0"},
{:ex_doc, "~> 0.34", only: :dev, runtime: false},
{:credo, "~> 1.7", only: [:dev, :test], runtime: false}
]
end
end