[WIP][SWIP-8] Support Kong monitoring #12629
CodePrometheus
started this conversation in
SWIP
Replies: 3 comments 6 replies
-
I think we are good to have this. |
Beta Was this translation helpful? Give feedback.
1 reply
-
@CodePrometheus We are going to release 10.1 just before the National Day or after that holiday. Could you share are you going to add this into 10.1 or later? |
Beta Was this translation helpful? Give feedback.
2 replies
-
As the feature progressed, I find that the metrics in the first version could has a better way of handling and categorized, I will make some adjustments to the SWIP and submit a PR when I'm ready. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Motivation
Kong or Kong API Gateway is a cloud-native, platform-agnostic, scalable API Gateway distinguished for its high performance and extensibility via plugins. Now I want to add Kong monitoring via the OpenTelemetry Collector, which fetches metrics from it's own HTTP endpoint to expose metrics data for Prometheus.
Architecture Graph
There is no significant architecture-level change.
Proposed Changes1
Counter
meter_kong_instance_ingress_bandwidth_bytes
meter_kong_endpoint_ingress_bandwidth_bytes
meter_kong_instance_egress_bandwidth_bytes
meter_kong_endpoint_egress_bandwidth_bytes
meter_kong_instance_http_status
meter_kong_endpoint_http_status
meter_kong_instance_kong_nginx_metric_errors_total
meter_kong_endpoint_kong_nginx_metric_errors_total
meter_kong_node_kong_nginx_metric_errors_total
Gauge
meter_kong_instance_kong_datastore_reachable
meter_kong_instance_http_requests
meter_kong_node_http_requests
meter_kong_instance_kong_core_db_cache_miss_allocated_bytes
meter_kong_node_kong_core_db_cache_miss_allocated_bytes
meter_kong_instance_kong_core_db_cache_miss_total_bytes
meter_kong_node_kong_core_db_cache_miss_total_bytes
meter_kong_instance_kong_memory_workers_lua_vms_bytes
meter_kong_node_kong_memory_workers_lua_vms_bytes
meter_kong_instance_kong_nginx_connections_total
meter_kong_node_kong_nginx_connections_total
meter_kong_instance_kong_nginx_timers
Histogram
meter_kong_instance_kong_latency
meter_kong_endpoint_kong_latency
meter_kong_instance_kong_request_latency
meter_kong_endpoint_kong_request_latency
meter_kong_instance_kong_upstream_latency
meter_kong_endpoint_kong_upstream_latency
Imported Dependencies libs and their licenses.
No new dependency.
Compatibility
No breaking changes.
General usage docs
References
Beta Was this translation helpful? Give feedback.
All reactions