Skip to content

Commit

Permalink
Add project info and changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
MvanDiemen committed Apr 26, 2024
1 parent 9b59bd5 commit bc0459f
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 2 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Changelog for OT v1.0

## 1.0.0 (2024-04-26)

* Add `OpenTelemetryPhoenix`
* Add `OpenTelemetryPhoenixLiveView`
* Add `Decorator`
* Add `Sampler`
* Add telemetry modules
* Add `AWSTelemetry`
* Add `ObanTelemetry`
* Add `ChromicPDFTelemetry`

23 changes: 21 additions & 2 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,20 @@ defmodule OT.MixProject do
def project do
[
app: :ot,
name: "OT",
version: "1.0.0",
elixir: "~> 1.16",
compilers: Mix.compilers(),
start_permanent: Mix.env() == :prod,
deps: deps(),
description: description(),
dialyzer: [
plt_file: {:no_warn, "priv/plts/project.plt"},
format: :dialyxir,
ignore_warnings: ".dialyzer_ignore.exs",
paths: ["_build/dev/lib/ot/ebin"]
],
deps: deps()
package: package(),
start_permanent: Mix.env() == :prod
]
end

Expand Down Expand Up @@ -52,4 +55,20 @@ defmodule OT.MixProject do
{:telemetry_poller, "~> 1.0"}
]
end

defp description() do
"""
Standardized library for using OpenTelemetry / :telemetry in Elixir applications.
Provides telemetry modules for Phoenix, LiveView, ChromicPDF and Oban. Also contains a Monitor and Telemetry module."
"""
end

defp package() do
[
name: "ot",
files: ~w(lib .formatter.exs mix.exs README.md LICENSE CHANGELOG.md),
licenses: ["MIT"],
links: %{"GitHub" => "https://github.com/wuunder/ot"}
]
end
end

0 comments on commit bc0459f

Please sign in to comment.