Vitals Overview

    • Use Kong Manager to view visualizations of Vitals data, including the Workspaces Overview Dashboard, Workspace Charts, Vitals tab, and Status Codes, and to generate CSV Reports.

    Vitals is enabled by default in Kong Gateway and available upon the first login of a Super Admin.

    You will need one of the following databases to use Vitals:

    • InfluxDB
    • PostgresSQL 9.5+
    • Cassandra 2.1+

    Guidelines for viewing Vitals

    When using Vitals, note:

    • Vitals is enabled by default and accessible the first time a Super Admin logs in.
    • Any authorized user can view Vitals for the entire Kong cluster or for a particular Workspace.
      • If a user does not have access to a Workspace, its Vitals are hidden from view.
      • If a user does not have access to Vitals data, charts will not display.

    Vitals API

    View Vitals information in Kong Manager using any of the following:

    • Workspace charts, which display on the Workspaces page beneath the Overview Dashboard. These charts give a quick overview of the status of an individual Workspace.
    • Vitals tab, which provides detailed information about your Kong cluster, including total requests, latency, and cache information.
    • Status Codes to view cluster-wide status code classes.

    Overview Dashboard

    When you log in to Kong Manager, the Workspaces page displays by default. The top of the page displays the Vitals Overview Dashboard summarizing your Kong cluster, including the health and performance of your APIs and Gateway, total requests, average error rate, total consumers, and total services. This Vitals Overview Dashboard makes it easy for an Admin to quickly identify any issues that need attention.

    Workspace charts

    On the Workspaces page, beneath the Overview Dashboard, the Workspaces section displays each Workspace with a chart showing Vitals for the most recently added services, consumers, and plugins for that Workspace. Hover over a coordinate to view the exact number of successes and errors at a given timestamp, or drilldown into the Workspace chart for more details.

    The Vitals tab, or Vitals view, displays metrics about the health and performance of Kong nodes and Kong-proxied APIs. The Vitals View displays total requests, latency, and cache information. You also can generate reports from the Vitals view.

    Options to populate the Vitals view, or areas in the chart, include:

    Status Codes

    The Status Codes view displays visualizations of cluster-wide status code classes (1xx, 2xx, 3xx, 4xx, 5xx). The Status Codes view contains the counts of status code classes graphed over time, as well as the ratio of code classes to total requests. See .

    Enable or disable Vitals

    Kong Gateway ships with Vitals enabled by default. To enable or disable Vitals, edit the configuration file or environment variables.

    Using kong.conf

    Using environment variables

    1. Edit the configuration file to enable or disable Vitals:

    2. Restart Kong.

    3. Use environment variables to enable or disable Vitals: