Skip to main content
Observability collects system metrics for your Managed Service for Kubernetes cluster and nodes. You can also send application-level metrics by using the Prometheus Operator. The Operator manages Prometheus clusters atop Kubernetes.

Prerequisites

  1. Install and configure the Nebius AI Cloud CLI.
  2. If you don’t have a service account for observability services, create one.
  3. Make sure that the service account is in a group that has at least the editor role within your tenant; for example, the default editors group. You can check this in the Administration → IAM section of the web console. If the service account is not in the required group, click  → Add to group, and select editors. Only users with the admin role can add a service account to a group.
  4. Issue a static key for the service account using the following command:
    Copy the value of the static key from the token parameter of the response. You will need it later in the configuration steps.

How to start ingesting metrics

  1. Connect to your Managed Service for Kubernetes cluster.
  2. Create a namespace for the observability components:
  3. Create a Kubernetes Secret for your token:
    In this command, specify the token value of the static key that you got earlier.
  4. Install and update the Prometheus Monitoring Community repository with Helm charts:
  5. Customize the kube-prometheus-stack chart:
    1. Open the values.yaml file:
    2. Paste the following configuration into the values.yaml:
      In this configuration, specify your region ID from the region list, and your project ID. The configuration disables the bundled Grafana® and Alertmanager components, runs Prometheus in agent mode and configures a write endpoint to push metrics to Observability Metrics.
  6. Install the chart:
  7. Check the installation:
Now, Prometheus writes application-level metrics from your Managed Service for Kubernetes cluster to Observability Metrics.