diff --git a/CHANGELOG.md b/CHANGELOG.md index f729e8d0..a65c4d97 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,43 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [1.7.0] - 2021-03-01 + +### Added + +- Added ability to execute arbitrary function on resulting dashboard for user customization. +- The GrafanaClient is now considered part of the public API, and users can interact with Grafana directly. For example, + users can publish their own Grafana annotations in addition to the annotations provided by PromEx. +- Added the ability to start GrafanaAgent via a port so that metrics can be published via `remote_write` to an other + Prometheus instance. For example, if you are using GrafanaCloud, you can use PromEx to push metrics right to + GrafanaCloud using the appropriate configuration. This feature is currently only available for Linux and OS X. +- The `ETSCronFlusher` GenServer can now be configured to flush the ETS buffer at whatever time interval you desire. The + default is still every 7.5s. + +### Fixed + +- Broadway metrics prefix. +- Broadway dashboard panel descriptions and titles. +- Fixed the `:default_selected_interval` option in all dashboards. +- Phoenix plugin manual metrics were ignoring the metric prefix option. + +### Changed + +- Application plugin no longer logs warnings for missing GIT env vars. +- LifecycleAnnotator no longer logs warnings for missing GIT env vars. +- All plugin distribution buckets have been redefined. The reason for this being that prior to PromEx 1.7, some of the + distribution buckets were a bit wasteful and were not adding value in terms of metrics data points. With this change, + users should notice a decline in data point cardinality without compromising resolution. +- Application plugin has changed how it fetches dependency information. It is now using `Applciation.spec/1` to get the + list of applications that are started with your application. This should reduce noise in the Grafana dashboard as all + the default OTP and Elixir applications will not show up. +- All Grafana dashboard now have a default panel sort order where the largest timeseries plot is first in the list when + hovering over the visuals. +- All Grafana dashboards now filter the instance filter based on the selected job filter. +- The Oban plugin no longer collects metrics related to `:circuit` events as those have been removed from Oban starting + with version 2.11 (https://github.com/sorentwo/oban/pull/606). The Oban dashboard will be updated in the next release + to remove the unused panels. + ## [1.6.0] - 2021-12-22 ### Added diff --git a/README.md b/README.md index bb8f49b2..51d1ed2e 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ dependencies in `mix.exs`: ```elixir def deps do [ - {:prom_ex, "~> 1.6.0"} + {:prom_ex, "~> 1.7.0"} ] end ``` diff --git a/lib/prom_ex/plugins/application.ex b/lib/prom_ex/plugins/application.ex index c58d665f..cb227479 100644 --- a/lib/prom_ex/plugins/application.ex +++ b/lib/prom_ex/plugins/application.ex @@ -52,8 +52,6 @@ defmodule PromEx.Plugins.Application do use PromEx.Plugin - require Logger - @filter_out_apps [ :iex, :inets, @@ -151,7 +149,6 @@ defmodule PromEx.Plugins.Application do git_sha :error -> - Logger.warn("GIT_SHA environment variable has not been defined") "Git SHA not available" end end @@ -163,7 +160,6 @@ defmodule PromEx.Plugins.Application do git_sha :error -> - Logger.warn("GIT_AUTHOR environment variable has not been defined") "Git author not available" end end diff --git a/mix.exs b/mix.exs index 8bdc85ba..2aab5d1e 100644 --- a/mix.exs +++ b/mix.exs @@ -4,7 +4,7 @@ defmodule PromEx.MixProject do def project do [ app: :prom_ex, - version: "1.6.0", + version: "1.7.0", elixir: "~> 1.11", name: "PromEx", source_url: "https://github.com/akoutmos/prom_ex",