Skip to content

Commit ff9cecc

Browse files
authored
Getting ready for the 1.7.0 release (#124)
* Getting ready for the next release * Updating changelog
1 parent 60788b8 commit ff9cecc

File tree

4 files changed

+39
-6
lines changed

4 files changed

+39
-6
lines changed

CHANGELOG.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,43 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [1.7.0] - 2021-03-01
11+
12+
### Added
13+
14+
- Added ability to execute arbitrary function on resulting dashboard for user customization.
15+
- The GrafanaClient is now considered part of the public API, and users can interact with Grafana directly. For example,
16+
users can publish their own Grafana annotations in addition to the annotations provided by PromEx.
17+
- Added the ability to start GrafanaAgent via a port so that metrics can be published via `remote_write` to an other
18+
Prometheus instance. For example, if you are using GrafanaCloud, you can use PromEx to push metrics right to
19+
GrafanaCloud using the appropriate configuration. This feature is currently only available for Linux and OS X.
20+
- The `ETSCronFlusher` GenServer can now be configured to flush the ETS buffer at whatever time interval you desire. The
21+
default is still every 7.5s.
22+
23+
### Fixed
24+
25+
- Broadway metrics prefix.
26+
- Broadway dashboard panel descriptions and titles.
27+
- Fixed the `:default_selected_interval` option in all dashboards.
28+
- Phoenix plugin manual metrics were ignoring the metric prefix option.
29+
30+
### Changed
31+
32+
- Application plugin no longer logs warnings for missing GIT env vars.
33+
- LifecycleAnnotator no longer logs warnings for missing GIT env vars.
34+
- All plugin distribution buckets have been redefined. The reason for this being that prior to PromEx 1.7, some of the
35+
distribution buckets were a bit wasteful and were not adding value in terms of metrics data points. With this change,
36+
users should notice a decline in data point cardinality without compromising resolution.
37+
- Application plugin has changed how it fetches dependency information. It is now using `Applciation.spec/1` to get the
38+
list of applications that are started with your application. This should reduce noise in the Grafana dashboard as all
39+
the default OTP and Elixir applications will not show up.
40+
- All Grafana dashboard now have a default panel sort order where the largest timeseries plot is first in the list when
41+
hovering over the visuals.
42+
- All Grafana dashboards now filter the instance filter based on the selected job filter.
43+
- The Oban plugin no longer collects metrics related to `:circuit` events as those have been removed from Oban starting
44+
with version 2.11 (https://github.com/sorentwo/oban/pull/606). The Oban dashboard will be updated in the next release
45+
to remove the unused panels.
46+
1047
## [1.6.0] - 2021-12-22
1148

1249
### Added

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ dependencies in `mix.exs`:
5454
```elixir
5555
def deps do
5656
[
57-
{:prom_ex, "~> 1.6.0"}
57+
{:prom_ex, "~> 1.7.0"}
5858
]
5959
end
6060
```

lib/prom_ex/plugins/application.ex

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@ defmodule PromEx.Plugins.Application do
5252

5353
use PromEx.Plugin
5454

55-
require Logger
56-
5755
@filter_out_apps [
5856
:iex,
5957
:inets,
@@ -151,7 +149,6 @@ defmodule PromEx.Plugins.Application do
151149
git_sha
152150

153151
:error ->
154-
Logger.warn("GIT_SHA environment variable has not been defined")
155152
"Git SHA not available"
156153
end
157154
end
@@ -163,7 +160,6 @@ defmodule PromEx.Plugins.Application do
163160
git_sha
164161

165162
:error ->
166-
Logger.warn("GIT_AUTHOR environment variable has not been defined")
167163
"Git author not available"
168164
end
169165
end

mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ defmodule PromEx.MixProject do
44
def project do
55
[
66
app: :prom_ex,
7-
version: "1.6.0",
7+
version: "1.7.0",
88
elixir: "~> 1.11",
99
name: "PromEx",
1010
source_url: "https://github.com/akoutmos/prom_ex",

0 commit comments

Comments
 (0)