Skip to main content
To ingest your Managed Service for Kubernetes cluster logs into Observability Logs, install the OpenTelemetry Collector and create a ConfigMap with its settings.

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.

Install and configure OpenTelemetry Collector

  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. Create a ConfigMap with OpenTelemetry Collector settings:
    In this command, specify your region ID from the region list, and your project ID.
  5. Install and update the OpenTelemetry repository with Helm charts:
  6. Install the opentelemetry-collector chart:
  7. Check the installation:
Now, OpenTelemetry Collector writes logs from your Managed Service for Kubernetes cluster to Observability Logs. Logs appear in the default bucket.
Connect Grafana® to view ingested logs within it.

The Grafana Labs Marks are trademarks of Grafana Labs, and are used with Grafana Labs’ permission. We are not affiliated with, endorsed or sponsored by Grafana Labs or its affiliates.