Skip to content

Metrics

We use Prometheus to collect and store metrics from applications running on NAIS.

These metrics are made available to Grafana where you can create dashboards and set up alerts. There is a prometheus instance running in each environment, and a grafana instance in the management cluster with datasources to each cluster. Your grafana instance is available at https://grafana.<tenant name>.cloud.nais.io/

In order for the platform to be able to collect metrics, your application must serve these metrics on a HTTP endpoint. This endpoint is specified in nais.yaml like this:

spec:
  prometheus:
    enabled: true
    path: /metrics

Last update: November 29, 2023
Created: November 29, 2023