Kong Gateway provides extensive metrics through its Prometheus plugin. However, these metrics are labelled with Kong entities such as Service
and Route
rather than Kubernetes resources.
Kong Gateway Operator can scrape Kong Gateway and enrich it with Kubernetes metadata so that it can be used by users to autoscale their workloads.
Kong Gateway Operator provides DataPlaneMetricsExtension
, which scrapes the Kong metrics and enriches them with Kubernetes labels before exposing them on it’s own /metrics
endpoint.
These enriched metrics can be used with the Kubernetes HorizontalPodAutoscaler
to autoscale workloads.