From ece57caf13a34abaae5fefa0dc7c105fa9f9d7c0 Mon Sep 17 00:00:00 2001 From: Steve Cohen Date: Mon, 29 Feb 2016 10:04:00 -0800 Subject: [PATCH 1/2] Updated docs to explain how to include exometer --- README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/README.md b/README.md index d32570c..ec10e87 100644 --- a/README.md +++ b/README.md @@ -78,3 +78,24 @@ Updating a metric is similarly easy: end end ``` + +## Additional Reporters + +By default, Elixometer only includes the `exometer_core` package. However, some reporters (namely OpenTSDB and Statsd) are only available by installing `exometer`. This is fairly easy to do, all you need to do is update your `mix.exs` to include exometer as a dependency and start it as an application. For example: + +```elixir + def application do + [ + applications: [:exometer, + ... other applications go here + ], + ... + ] + end + + defp deps do + [ + {:exometer, github: "PSPDFKit-labs/exometer_core"} + ] + end +``` From c8939ec6ef3c0187643ab866cb6876fff06530ff Mon Sep 17 00:00:00 2001 From: Steve Cohen Date: Mon, 29 Feb 2016 10:10:37 -0800 Subject: [PATCH 2/2] Bumped version --- mix.exs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mix.exs b/mix.exs index 3da492c..1390c98 100644 --- a/mix.exs +++ b/mix.exs @@ -3,8 +3,8 @@ defmodule Elixometer.Mixfile do def project do [app: :elixometer, - version: "1.0.0", - elixir: "~> 1.0", + version: "1.1.0", + elixir: ">= 1.0.0", description: description, source_url: project_url, homepage_url: project_url,