Yandex Cloud
Search
Contact UsTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
  • Marketplace
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2026 Direct Cursus Technology L.L.C.
Monium
  • Getting started
  • Overview
    • Overview
    • OTLP in Monium
    • Creating and setting up a project
  • Access management
  • Pricing policy
  • Terraform reference
  • Release notes

In this article:

  • Connection setup
  • Agents
  1. Data delivery
  2. Overview

Collecting telemetry

Written by
Yandex Cloud
Updated at March 24, 2026
  • Connection setup
  • Agents

Monium automatically receives telemetry data from Yandex Cloud resources. You can also send telemetry data in OpenTelemetry format to Monium from any sources: other clouds, your own infrastructure, or applications.

This section describes how to configure the transfer of metrics, logs, and traces to Monium. You can send data directly from an application using the OpenTelemetry SDK or use a collector agent for centralized telemetry collection and routing.

Connection setupConnection setup

To transmit telemetry to Monium:

  1. Set up telemetry collection from your application in OpenTelemetry format.

    You can send telemetry directly from the application or via an agent.

  2. Create a service account.

  3. Create an API key for the service account. Select a scope depending on the type of transferred data:

    • yc.monium.telemetry.write: Writing all telemetry types.
    • yc.monium.metrics.write: Writing metrics.
    • yc.monium.logs.write: Writing logs.
    • yc.monium.traces.write: Writing traces.
  4. Configure the connection as follows:

    • Endpoint: ingest.monium.yandex.cloud:443.
    • Protocol: gRPC or HTTP.
  5. Configure data distribution across shards.

    In Monium, telemetry has this hierarchy: project → cluster → service. Data is stored in shards in service-cluster pairs.

    Specify the following parameters:

    • Project: Provided as the x-monium-project header.

      By default, when you create a cloud and folder, two projects are created: cloud__<cloud_ID> and folder__<folder_ID>. You can also create your own projects to collect telemetry.

    • Cluster: Provided in OTEL_RESOURCE_ATTRIBUTES with the cluster or deployment.name key. This is an optional property. The default value is default.

    • Service: Provided in OTEL_RESOURCE_ATTRIBUTES with the service or service.name key.

    All metrics, logs, and traces in Monium have mandatory labels: project, cluster, and service. These labels form the shard key.

    When delivering telemetry in OpenTelemetry format, the values of these key attributes are determined as follows:

    1. Highest priority: Values set via HTTP or gRPC headers.
    2. Then, the values set in the resource attributes of the request body with the cluster and service keys.
    3. Then, the values set in the resource attributes recommended by the OpenTelemetry semantic convention.
    4. Otherwise, a default value is assigned.

    The project name is only taken from the header. The algorithm for determining the shard key is presented in the table below.

    header

    resource’s own attribute

    resource’s standard attribute

    default value

    x-monium-project

    —

    —

    —

    x-monium-cluster

    cluster

    deployment.name

    default

    x-monium-service

    service

    service.name, k8s.deployment.name, k8s.namespace.name

    default

AgentsAgents

Monium accepts telemetry from Yandex Cloud resources, other clouds, and applications in your infrastructure.

Transfer for Yandex Cloud resources is set up when you create or update a resource.

Two types of telemetry collection are available for applications:

  • OpenTelemetry SDK: Connect the SDK to your application and set up OTLP export.
  • Automatic instrumentation: Use agents or libraries that automatically collect telemetry from popular frameworks without modifying the code.

You can transfer data directly from the SDK or use an OTLP-compatible agent.

The agent is installed next to the application on a server, VM, or in a container. It receives telemetry and sends it to Monium. If the application sends data in a format other than OTLP, you will need an agent for conversion.

Learn more about the setup:

  • Unified Agent: Agent by Yandex.
  • OTel Collector: OpenTelemetry ecosystem agent.
  • Fluent Bit: A lightweight agent for log processing and forwarding other types of telemetry.

Was the article helpful?

Previous
Overview
Next
OTLP in Monium
© 2026 Direct Cursus Technology L.L.C.