From e886c7a089ea3dd0da3754c3dfe25e4065b4016b Mon Sep 17 00:00:00 2001 From: Wangchong Zhou Date: Thu, 3 Jun 2021 01:06:05 +0800 Subject: [PATCH] chore(prometheus) release 1.3.0 (#133) --- CHANGELOG.md | 11 +++++++++++ ...ockspec => kong-prometheus-plugin-1.3.0-1.rockspec | 4 ++-- kong/plugins/prometheus/handler.lua | 2 +- 3 files changed, 14 insertions(+), 3 deletions(-) rename kong-prometheus-plugin-1.2.1-1.rockspec => kong-prometheus-plugin-1.3.0-1.rockspec (96%) diff --git a/CHANGELOG.md b/CHANGELOG.md index a8ed0d624b78..c691e50888d5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ # Table of Contents +- [1.3.0](#130---20210527) - [1.2.1](#121---20210415) - [1.2.0](#120---20210324) - [1.1.0](#110---20210303) @@ -20,6 +21,14 @@ - [0.2.0](#020---20180924) - [0.1.0](#010---20180615) +## [1.3.0] - 2021/05/27 + +- Fix exporter to attach subsystem label to memory stats + [#118](https://github.com/Kong/kong-plugin-prometheus/pull/118) +- Expose dataplane status on control plane, new metrics `data_plane_last_seen`, + `data_plane_config_hash` and `data_plane_version_compatible` are added. + [#98](https://github.com/Kong/kong-plugin-prometheus/pull/98) + ## [1.2.1] - 2021/04/15 - Fix an issue where the Content-Length header could be potentially mispelled @@ -148,6 +157,8 @@ initialized - Initial release of Prometheus plugin for Kong. +[1.3.0]: https://github.com/Kong/kong-plugin-prometheus/compare/1.2.1...1.3.0 +[1.2.1]: https://github.com/Kong/kong-plugin-prometheus/compare/1.2.0...1.2.1 [1.2.0]: https://github.com/Kong/kong-plugin-prometheus/compare/1.1.0...1.2.0 [1.1.0]: https://github.com/Kong/kong-plugin-prometheus/compare/1.0.0...1.1.0 [1.0.0]: https://github.com/Kong/kong-plugin-prometheus/compare/0.9.0...1.0.0 diff --git a/kong-prometheus-plugin-1.2.1-1.rockspec b/kong-prometheus-plugin-1.3.0-1.rockspec similarity index 96% rename from kong-prometheus-plugin-1.2.1-1.rockspec rename to kong-prometheus-plugin-1.3.0-1.rockspec index 32e8817df5ef..8f83e7ec70e2 100644 --- a/kong-prometheus-plugin-1.2.1-1.rockspec +++ b/kong-prometheus-plugin-1.3.0-1.rockspec @@ -1,9 +1,9 @@ package = "kong-prometheus-plugin" -version = "1.2.1-1" +version = "1.3.0-1" source = { url = "git://github.com/Kong/kong-plugin-prometheus", - tag = "1.2.1" + tag = "1.3.0" } supported_platforms = {"linux", "macosx"} diff --git a/kong/plugins/prometheus/handler.lua b/kong/plugins/prometheus/handler.lua index eaad592cbb07..6afa8b3af46b 100644 --- a/kong/plugins/prometheus/handler.lua +++ b/kong/plugins/prometheus/handler.lua @@ -7,7 +7,7 @@ prometheus.init() local PrometheusHandler = { PRIORITY = 13, - VERSION = "1.2.1", + VERSION = "1.3.0", } function PrometheusHandler.init_worker()