Skip to main content

Gateway health and monitoring

Liveness endpoint

/health/live Returns a status HTTP 200 when Gateway is up.
cURL example
Could be used to set up probes on Kubernetes.

Kubernetes startup probe

Port configuration
Probe configuration

Kubernetes liveness probe

Port configuration
Probe configuration

Readiness endpoint

/health/ready Returns readiness of Gateway. Modules status:
  • NOTREADY (initial state)
  • READY
This endpoint returns a 200 status code if Gateway is in a READY state. Otherwise, it returns a 503 status code if Gateway is not ready to accept traffic yet.
cURL example
Could be used to set up probes on docker-compose or Kubernetes.

Docker-compose probe setup

The healthcheck configuration below is optional, as it’s already backed into the Conduktor image and not required unless you’re experiencing issues.

Kubernetes readiness probe

Port configuration
Probe configuration

Gateway versions

/versions Returns the Gateway version.
cURL example

Health (deprecated)

To check the health of Gateway, you can use the endpoint /health on the Gateway API (by default, on port 8888):
cURL Example
Output Example

Access Prometheus metrics from Gateway

The Prometheus endpoint is <gateway_host>:<gateway_port>/metrics. For example:
Please be aware that if GATEWAY_SECURED_METRICS is enabled (which is the default setting), you will need to use the credentials specified in GATEWAY_ADMIN_API_USERS to access it. For example, using the default credentials, you can access the metrics with the following command:
Retrieve Gateway Metrics

Available metrics for Prometheus

Find out more about Gateway metrics.

Audit log events

Console endpoints

Liveness endpoint

/api/health/live Returns a status HTTP 200 when Console is up.
cURL example
Could be used to set up probes on Kubernetes.

Kubernetes startup probe

Port configuration
Probe configuration

Kubernetes liveness probe

Port configuration
Probe configuration

Readiness/startup endpoint

/api/health/ready Returns readiness of the Console. Modules status :
  • NOTREADY (initial state)
  • READY
This endpoint returns a 200 status code if Console is in a READY state. Otherwise, it returns a 503 status code if Console fails to start.
cURL example
Could be used to set up probes on docker-compose or Kubernetes.

Docker-compose probe setup

The healthcheck configuration below is optional, as it’s already backed into the Conduktor image and not required unless you’re experiencing issues.

Kubernetes readiness probe

Port configuration
Probe configuration

Console versions

/api/versions This endpoint exposes module versions used to build the Console along with the overall Console version.
cURL example

Access Prometheus metrics from Console

The Prometheus metrics endpoints are:
  • /api/monitoring/metrics - Console and Kafka metrics
  • /monitoring/metrics - Kafka metrics
Since Console v1.42.0, you can protect these endpoints with basic auth by configuring the CDK_MONITORING_BASICAUTH_EMAIL and CDK_MONITORING_BASICAUTH_PASSWORD environment variables. When basic auth is configured, you need to provide credentials to access the metrics:
Retrieve Console metrics with basic auth
Basic auth is optional in v1.42.0 to avoid breaking existing deployments. In a future release, basic auth will become mandatory for metrics scraping.
Find out more about Console metrics.

Cortex monitoring endpoints

Cortex endpoint

/ready on port 9009 Returns a status 200 with response ready if Cortex is running
cURL example

Alertmanager endpoint

/ready on port 9010 Returns a status 200 with response ready if Alertmanager is running
cURL example

Prometheus endpoint

/-/healthy on port 9090 Returns a status 200 with response Prometheus Server is Healthy. if Prometheus is running
cURL example