Monitor Kong Prometheus export metrics.
Monitor Kong Prometheus export metrics such as routes, nodes, locally or remotely stored data, or proxied upstream services with the
Kong - Prometheus extension.
Find the extension in Dynatrace Hub to start the installation.
For more information on the related Prometheus extension, see Dynatrace Prometheus Extension Documentation.
The
Kong - Prometheus extension uses the Kong Prometheus Export to scrape and ingest metrics.
It enables the Prometheus extension in your Kong environment.
It points the Dynatrace monitoring configuration to the metrics endpoint, for example, http://localhost:<port>/metrics.
In this context, Dynatrace is the Prometheus server.
Dynatrace creates the following custom topology types from the Prometheus metric dimensions:
kong.nodeshared dictionaryA SAME_AS relationship is defined between the Kong service and a monitored Dynatrace service, where the service names are the same.
When activating your extension using monitoring configuration, you can limit monitoring to one of the feature sets. To work properly the extension has to collect at least one metric after the activation.
In highly segmented networks, feature sets can reflect the segments of your environment. Then, when you create a monitoring configuration, you can select a feature set and a corresponding ActiveGate group that can connect to this particular segment.
All metrics that aren't categorized into any feature set are considered to be the default and are always reported.
A metric inherits the feature set of a subgroup, which in turn inherits the feature set of a group. Also, the feature set defined on the metric level overrides the feature set defined on the subgroup level, which in turn overrides the feature set defined on the group level.
| Metric name | Metric key | Description |
|---|---|---|
| Kong Memory Workers Lua Vms Bytes | kong_memory_workers_lua_vms_bytes | Allocated bytes in worker Lua VM |
| Metric name | Metric key | Description |
|---|---|---|
| Kong Request Latency (Histogram) | kong_request_latency_ms | Total latency incurred during requests for each service/route in Kong |
| Metric name | Metric key | Description |
|---|---|---|
| Kong HTTP Requests Total | kong_http_requests_total.count | HTTP status codes per consumer/service/route in Kong |
| Metric name | Metric key | Description |
|---|---|---|
| Kong Enterprise License Errors | kong_enterprise_license_errors.count | Errors when collecting license info |
| Kong Enterprise License Errors | kong_enterprise_license_expiration | Errors when collecting license info |
| Kong Enterprise License Features | kong_enterprise_license_features | License features |
| Metric name | Metric key | Description |
|---|---|---|
| Kong Data Plane Last Seen | kong_data_plane_last_seen | Last time data plane contacted control plane |
| Kong Data Plane Version Compatible | kong_data_plane_version_compatible | Version compatible status of the data plane, 0 is incompatible |
| Metric name | Metric key | Description |
|---|---|---|
| Kong Datastore Reachable | kong_datastore_reachable | Datastore reachable from Kong, 0 is unreachable |
| Kong Database Entities Total | kong_db_entities_total | Total number of Kong db entities |
| Kong Database Errors | kong_db_entity_count_errors.count | Errors during entity count collection |
| Metric name | Metric key | Description |
|---|---|---|
| Kong Total Bandwidth | kong_bandwidth_bytes | Total bandwidth (ingress/egress) throughput in bytes |
| Metric name | Metric key | Description |
|---|---|---|
| Kong Node Info | kong_node_info | Kong Node metadata information |
| Metric name | Metric key | Description |
|---|---|---|
| Kong Nginx Connections Total | kong_nginx_connections_total | Number of connections by subsystem |
| Kong Nginx Metric Errors Total | kong_nginx_metric_errors_total.count | Number of nginx-lua-prometheus errors |
| Kong Nginx Requests Total | kong_nginx_requests_total | Total number of requests |
| Kong Nginx Timers | kong_nginx_timers | Number of nginx timers |
| Kong Nginx HTTP Current Connections | kong_nginx_http_current_connections | Number of HTTP connections |
| Metric name | Metric key | Description |
|---|---|---|
| Kong Memory Lua Shared Dict Bytes | kong_memory_lua_shared_dict_bytes | Allocated slabs in bytes in a shared_dict |
| Kong Memory Lua Shared Dict Total Bytes | kong_memory_lua_shared_dict_total_bytes | Total capacity in bytes of a shared_dict |
| Metric name | Metric key | Description |
|---|---|---|
| Kong Upstream Latency (Histogram) | kong_upstream_latency_ms | Latency added by upstream response for each service/route in Kong |
| Metric name | Metric key | Description |
|---|---|---|
| Kong Latency (Histogram) | kong_kong_latency_ms | Latency added by Kong and enabled plugins for each service/route in Kong |