From 38309b4ee6f9b1c9f334740877f12b7a3ce60daa Mon Sep 17 00:00:00 2001 From: Greg Mefford Date: Sat, 15 Sep 2018 12:54:13 -0400 Subject: [PATCH] Prep for v0.3.0 release --- CHANGELOG.md | 6 +++++- LICENSE | 22 ++++++++++++++++++++++ README.md | 4 ++-- mix.exs | 12 +++++++++++- 4 files changed, 40 insertions(+), 4 deletions(-) create mode 100644 LICENSE diff --git a/CHANGELOG.md b/CHANGELOG.md index 867e31d..4294742 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -[NEXT]: https://github.com/spandex-project/spandex_datadog/compare/vNEXT...v0.2.0 +[NEXT]: https://github.com/spandex-project/spandex_datadog/compare/vNEXT...v0.3.0 + +## [0.3.0] + +[0.3.0]: https://github.com/spandex-project/spandex_datadog/compare/v0.3.0...v0.2.0 ### Added - `SpandexDatadog.Adapter.inject_context/3` added to support the new version of diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..b8b36c9 --- /dev/null +++ b/LICENSE @@ -0,0 +1,22 @@ +MIT License + +Copyright (c) 2018 Zachary Daniel +Copyright (c) 2018 Greg Mefford + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md index ad73b86..27d2ade 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ dependencies in `mix.exs`: ```elixir def deps do [ - {:spandex_datadog, "~> 0.1.0"} + {:spandex_datadog, "~> 0.3.0"} ] end ``` @@ -45,7 +45,7 @@ priority sampling documentation]. [Datadog priority sampling documentation]: https://docs.datadoghq.com/tracing/getting_further/trace_sampling_and_storage/#priority-sampling-for-distributed-tracing -## Api Sender Performance +## API Sender Performance Originally, the library had an API server and spans were sent via `GenServer.cast`, but we've seen the need to introduce backpressure, and limit diff --git a/mix.exs b/mix.exs index 6e2901e..2d0c74b 100644 --- a/mix.exs +++ b/mix.exs @@ -5,11 +5,12 @@ defmodule SpandexDatadog.MixProject do [ app: :spandex_datadog, description: description(), - version: "0.2.0", + version: "0.3.0", elixir: "~> 1.6", start_permanent: Mix.env() == :prod, deps: deps(), elixirc_paths: elixirc_paths(Mix.env()), + docs: docs(), package: package() ] end @@ -38,6 +39,15 @@ defmodule SpandexDatadog.MixProject do defp elixirc_paths(:test), do: ["lib", "test/support"] defp elixirc_paths(_), do: ["lib"] + defp docs do + [ + main: "readme", + extras: [ + "README.md" + ] + ] + end + defp deps do [ {:ex_doc, ">= 0.0.0", only: :dev},