Skip to content

Releases: akoutmos/prom_ex

1.9.0

12 Oct 15:29
ce67e7d
Compare
Choose a tag to compare

[1.9.0] - 2023-10-12

Added

  • Added host tag to phoenix plugin to handle paths depended on a subdomain #183

Changed

  • Removed deprecated Logger.warn calls #207

Fixed

  • Addressed binary memory leak in flusher GenServer #200

1.8.0

01 Apr 16:34
Compare
Choose a tag to compare

[1.8.0] - 2023-04-01

Added

  • Support for Phoenix 1.7 #192
  • Ability to customize time units via :duration_unit in plugins #140
  • Download Grafana Agent on FreeBSD #156
  • Ability to configure configure Grafana HTTP client Finch pools #169
  • Ability to pass additional params to GrafanaAgent config templates 161
  • Ability to run multiple GrafanaAgent instances #157
  • Support for GrafanaAgent 29 #184
  • Support for Telemetry >= 1.0.0 #193
  • Ability to normalize channel event name in Phoenix plugin #187

Fixed

  • Application crashing on startup from being unable to upload dashboards due to folder UID changing #177
  • Use topology name for message and exception tags in Broadway plugin #134
  • Ecto plugin issue when missing repo config #144
  • prom_ex.dashboard.publish Finch pool error #127 and
    #152

1.7.1

03 Mar 04:41
Compare
Choose a tag to compare

Fixed

  • Added missing priv dir to release.

1.7.0

01 Mar 22:46
ff9cecc
Compare
Choose a tag to compare

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 (sorentwo/oban#606). The Oban dashboard will be updated in the next release
    to remove the unused panels.

1.6.0

23 Dec 02:07
Compare
Choose a tag to compare

Added

  • Updated BEAM plugin to surface JIT support
  • Broadway metrics plugin
  • Broadway Grafana dashboard

Fixed

  • LiveView plugin would detach exception handles when certain errors were encountered

1.5.0

10 Nov 23:52
Compare
Choose a tag to compare

Added

  • Links to HexDocs from Grafana dashboards
  • Links to GitHub sponsorship from Grafana dashboards
  • Endpoint label to channel metrics
  • Ecto Grafana dashboard panels for total time metrics
  • Phoenix Grafana dashboard panels for socket connections

Fixed

  • PhoenixLiveView plugin error label is now normalized
  • Documentation for Phoenix plugin was cleaned up

1.4.1

06 Sep 21:11
Compare
Choose a tag to compare

Added

  • Added a configuration to the dashboard assigns so that the default time interval can be specified
    by the user as opposed to being hard coded to 30s.

Fixed

  • Fixed Plug.Router plugin to handle requests without conn.private.plug_route info

1.4.0

01 Sep 03:42
Compare
Choose a tag to compare

Changed

  • The Phoenix plugin now requires an :endpoint configuration option to be passed to it containing the module
    for which metrics will be captured.

Added

  • Plug.Router plugin and dashboard.
  • PlugCowboy plugin and dashboard.
  • Phoenix plugin now supports multiple routers and multiple endpoints.
  • Phoenix plugin and dashboards now contains endpoint configuration data.
  • Phoenix plugin now captures socket metrics (dashboard not yet updated though).
  • Ecto plugin captures total_time metrics (dashboard not yet updated though).
  • Add an optional configuration to dashboard renderer and each plugin so that the metrics_prefix can be altered.

Fixed

  • Oban dashboard overview stat panels.

1.3.0

04 Jul 21:45
Compare
Choose a tag to compare

Added

  • Absinthe plugin and dashboard.
  • Erlang persistent_term metrics to BEAM dashboard.

1.2.0

15 Jun 20:32
Compare
Choose a tag to compare

Fixed

  • GrafanaClient module error case statement. Relaxed the pattern matching so that unaccounted
    for responses from Grafana don't crash the GenServer.

Added

  • Added the additional_routes option to the Phoenix plugin so that routes not defined in
    the router module can still be labeled correctly.