このページは、まだ日本語ではご利用いただけません。翻訳中です。
古いプラグインバージョンのドキュメントを閲覧しています。
Changelog
Kong Gateway 3.8.x
- Added
ai_requests_total
,ai_cost_total
, andai_tokens_total
metrics to the Prometheus plugin to start counting AI usage. #13148 - Improved error logging when having an inconsistent label count. #13020
- Fixed an issue where the CP/DP compatibility check was missing for the new configuration field
ai_metrics
. #13417
Kong Gateway 3.7.x
- Added a workspace label to Prometheus plugin metrics. #12836
Kong Gateway 3.6.x
- Exposed metrics for serviceless routes. #11781
Kong Gateway 3.4.x
- This plugin has been optimized to reduce proxy latency impacts during scraping. #10949 #11040 #11065
Kong Gateway 3.0.x
- High cardinality metrics are now disabled by default.
- Decreased performance penalty to proxy traffic when collecting metrics.
- The following metric names were adjusted to add units to standardize where possible:
-
http_status
tohttp_requests_total
-
latency
tokong_request_latency_ms
/kong_upstream_latency_ms
/kong_kong_latency_ms
-
kong_bandwidh
tokong_bandwidth_bytes
-
nginx_http_current_connections
/nginx_stream_current_connections
tonginx_connections_total
- Removed:
http_consumer_status
-
- New metric:
session_duration_ms
for monitoring stream connections - New metric:
node_info
is a single gauge set to 1 that outputs the node’s ID and Kong Gateway version - Latency was split into four different metrics:
kong_latency_ms
,upstream_latency_ms
,request_latency_ms
(HTTP), andsession_duration_ms
(stream). Buckets details follow:- Kong Latency and Upstream Latency can operate at orders of different magnitudes. Separate these buckets to reduce memory overhead.
-
request_count
andconsumer_status
were merged intohttp_requests_total
. If theper_consumer
config is set to false, theconsumer
label will be empty. If theper_consumer
config is true, theconsumer
label will be filled. -
http_requests_total
has a new labelsource
. It can be set toexit
,error
, orservice
. - All Memory metrics have a new label,
node_id
. - Plugin version bumped to 3.0.0
- The
node_id
label was added to memory metrics.
Kong Gateway (Enterprise) 2.8.3.2
- Adds new directives in
kong.conf
to enable or disable high cardinality metrics.-
prometheus_plugin_status_code_metrics
: enables or disables reporting the HTTP/Stream status codes per service/route. -
prometheus_plugin_latency_metrics
: enables or disables reporting the latency added by Kong, request time and upstream latency. -
prometheus_plugin_bandwidth_metrics
: enables or disables reporting the bandwidth consumed by service/route. -
prometheus_plugin_upstream_health_metrics
: enables or disables reporting the upstream health status.
-
Kong Gateway 2.8.x
- Adds a new metric:
-
kong_nginx_timers
(gauge): total number of Nginx timers, in Running or Pending state.
-
- Add two new metrics:
-
kong_db_entities_total
(gauge): total number of entities in the database -
kong_db_entity_count_errors
(counter): measures the number of errors encountered during the measurement ofkong_db_entities_total
-
Kong Gateway 2.5.x
- New
data_plane_cluster_cert_expiry_timestamp
metric - Added
subsystem
label to Upstream Target health metrics
Kong Gateway 2.4.x
- Added the
per_consumer
configuration parameter to export per-consumer status.
Kong Gateway 2.3.x
- The plugin can now export Kong Gateway Enterprise licensing information.