Skip to content
Kong Logo | Kong Docs Logo
search
  • We're Hiring!
  • Docs
    • Kong Gateway
    • Kong Konnect
    • Kong Mesh
    • Plugin Hub
    • decK
    • Kubernetes Ingress Controller
    • Insomnia
    • Kuma

    • Docs contribution guidelines
  • Plugin Hub
  • Support
  • Community
  • Kong Academy
Get a Demo Start Free Trial
  • Kong Gateway
  • Kong Konnect
  • Kong Mesh
  • Plugin Hub
  • decK
  • Kubernetes Ingress Controller
  • Insomnia
  • Kuma

  • Docs contribution guidelines
  • 2.9.x (latest)
  • 2.8.x
  • 2.7.x
  • 2.6.x
  • 2.5.x
  • 2.4.x
  • 2.3.x
  • 2.2.x
  • 2.1.x
  • 2.0.x
  • 1.3.x
  • 1.2.x
  • 1.1.x
  • 1.0.x

github-edit-pageEdit this page

report-issueReport an issue

enterprise-switcher-iconSwitch to OSS

On this pageOn this page
  • Prometheus metrics for configuration updates
    • ingress_controller_configuration_push_count
    • ingress_controller_translation_count
    • ingress_controller_configuration_push_duration_milliseconds
  • Low-level performance metrics
Kubernetes Ingress Controller
2.9.x (latest)
  • Home
  • Kubernetes Ingress Controller
  • References
  • Prometheus metrics

Prometheus metrics

Kubernetes Ingress Controller, as well as Kong Gateway, both expose Prometheus metrics, under certain conditions:

  • Kubernetes Ingress Controller, since version 2.0, exposes Prometheus metrics for configuration updates.
  • Kong Gateway can expose Prometheus metrics for served requests, if the Prometheus plugin is enabled. See the Using KongPlugin resource guide for information about how to enable a plugin. Also, we provide a specific guide for integration with Prometheus and Grafana as well.

This document is a reference for the former type.

Prometheus metrics for configuration updates

ingress_controller_configuration_push_count

ingress_controller_configuration_push_count (type: counter) provides the number of successful or failed configuration pushes to Kong Gateway.

This metric provides the following labels:

  • protocol describes the configuration protocol in use, which can be db-less or deck.
  • dataplane describes the data plane that was the target of configuration push.

  • success logs the status of configuration updates. If success is false, an unrecoverable error occurred. If success is true, the push succeeded with no errors.
  • failure_reason is populated if success="false". It describes the reason for the failure:
    • conflict: A configuration conflict that must be manually fixed.
    • network: A network related issues, such as Kong Gateway is offline.
    • other: Other issues, such as Kong Gateway reporting a non-conflict error.

ingress_controller_translation_count

ingress_controller_translation_count (type: counter) provides the number of translations from the Kubernetes state to the Kong Gateway state.

This metric provides the success label. success logs the status of configuration updates. If success is false, an unrecoverable error occurred. If success is true, the translation succeeded with no errors.

ingress_controller_configuration_push_duration_milliseconds

ingress_controller_configuration_push_duration_milliseconds (type: histogram) is the amount of time, in milliseconds, that it takes to push the configuration to Kong Gateway.

This metric provides the following labels:

  • protocol describes the configuration protocol in use, which can be db-less or deck.
  • dataplane describes the data plane that was the target of configuration push.

  • success logs the status of configuration updates. If success is false, an unrecoverable error occurred. If success is true, the push succeeded with no errors.

Low-level performance metrics

In addition to the above, Kubernetes Ingress Controller exposes more low-level performance metrics, but these may change from version to version because they are provided by underlying frameworks of Kubernetes Ingress Controller.

A non-exhaustive list of these low-level metrics is described in the following:

  • Controller-runtime metrics
  • Workqueue metrics
Thank you for your feedback.
Was this page useful?
  • Kong
    THE CLOUD CONNECTIVITY COMPANY

    Kong powers reliable digital connections across APIs, hybrid and multi-cloud environments.

    • Company
    • Customers
    • Events
    • Investors
    • Careers Hiring!
    • Partners
    • Press
    • Contact
  • Products
    • Kong Konnect
    • Kong Gateway
    • Kong Mesh
    • Get Started
    • Pricing
  • Resources
    • eBooks
    • Webinars
    • Briefs
    • Blog
    • API Gateway
    • Microservices
  • Open Source
    • Install Kong Gateway
    • Kong Community
    • Kubernetes Ingress
    • Kuma
    • Insomnia
  • Solutions
    • Decentralize
    • Secure & Govern
    • Create a Dev Platform
    • API Gateway
    • Kubernetes
    • Service Mesh
Star
  • Terms•Privacy
© Kong Inc. 2023