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:

  • Endpoints
  • Authorization
  • Headings
  • Required headers
  • Optional headers
  • Distribution by shards
  • Data compression
  • Metric type mapping
  • OTLP metric types
  • Monium type mapping
  • Examples of sum processing
  • Cumulative Sum
  • Delta Sum, Monotonic
  • Processing resource attributes
  • Preserved attributes
  • Reserved labels
  • Other attributes
  • Data format
  • See also
  1. Data delivery
  2. OTLP in Monium

OTLP in Monium

Written by
Yandex Cloud
Updated at March 24, 2026
  • Endpoints
  • Authorization
  • Headings
    • Required headers
    • Optional headers
  • Distribution by shards
  • Data compression
  • Metric type mapping
    • OTLP metric types
    • Monium type mapping
  • Examples of sum processing
    • Cumulative Sum
    • Delta Sum, Monotonic
  • Processing resource attributes
    • Preserved attributes
    • Reserved labels
    • Other attributes
  • Data format
  • See also

Monium can receive metrics via OTLP (OpenTelemetry Protocol), which allows you to send telemetry directly from applications using the OpenTelemetry SDK or through the OpenTelemetry Collector.

EndpointsEndpoints

Monium provides the following endpoints for receiving metrics in OTLP format:

Protocol

Endpoint

Description

HTTP

https://ingest.monium.yandex.cloud/otlp/v1/metrics

HTTP endpoint for receiving metrics

HTTP

https://ingest.monium.yandex.cloud/otlp/v1/logs

HTTP endpoint for receiving logs

HTTP

https://ingest.monium.yandex.cloud/otlp/v1/traces

HTTP endpoint for receiving traces

gRPC

ingest.monium.yandex.cloud:443

gRPC endpoint for receiving all telemetry

The gRPC and HTTP endpoints are fully compatible with the OTLP specification.

AuthorizationAuthorization

Requests are authorized using an API key provided in the Authorization header:

Authorization: Api-Key <API_key>

The API key is created for a service account with the monium.telemetry.writer role. The key must have the yc.monium.telemetry.write scope to write any type of telemetry or one or more of the following for granular access: yc.monium.metrics.write, yc.monium.logs.write, yc.monium.traces.write. Learn more about creating an API key.

HeadingsHeadings

Required headersRequired headers

Header

Description

Example

Authorization

API key for authentication

Api-Key AQVN...

x-monium-project

Project name: Monium

folder__b1...

Optional headersOptional headers

Header

Description

Example

Default value

x-monium-cluster

Cluster name

production

default

x-monium-service

Service name

payment-gateway

default

Distribution by shardsDistribution by shards

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

Learn more about sharding parameters in Basic terms.

Data compressionData compression

Realtime API supports the following compression types:

Method

HTTP header

gRPC

Recommendation

No compression.

–

–

For debugging or for a small data stream

gzip

Content-Encoding: gzip

grpc-encoding: gzip

Supported by default

zstd

Content-Encoding: zstd

grpc-encoding: zstd

Recommended: more efficient in terms of computing resources

Metric type mappingMetric type mapping

This section maps OpenTelemetry data types to Monium types.

OTLP metric typesOTLP metric types

OpenTelemetry uses the following metric types:

OTLP type

Characteristic

Use cases

Gauge

Instant value

Memory usage, temperature

Counter

Monotonic counter

Number of requests, request size

UpDownCounter

Additive counter

Number of active connections

Histogram

Distribution of values

Request duration, response size

Summary (deprecated)

Quantiles and sum

Latency percentiles

Monium type mappingMonium type mapping

Monium converts OTLP types into its internal metric types depending on temporality:

Temporality = DeltaTemporality = Delta

OTLP type

Monotonicity

Monium type

Note

Gauge

—

GAUGE

Instant value

Sum

Monotonic

RATE

The sum is divided by the interval length in seconds

Histogram

—

HIST_RATE for buckets, GAUGE for statistics

name={metric}, bin={bound} + name={metric}.count + name={metric}.sum + name={metric}.min + name={metric}.max

Summary

—

GAUGE

name={metric}.quantile, quantile={q} + name={metric}.count + name={metric}.sum + name={metric}.min + name={metric}.max

Temporality = CumulativeTemporality = Cumulative

OTLP type

Monotonicity

Monium type

Note

Gauge

—

GAUGE

Instant value

Sum

Non-monotonic

GAUGE

Absolute value of the counter

Sum

Monotonic

GAUGE

Absolute value of the counter

Histogram

—

HIST for buckets, GAUGE for statistics

name={metric}, bin={bound} + name={metric}.count + name={metric}.sum + name={metric}.min + name={metric}.max

Summary

—

GAUGE

name={metric}.quantile, quantile={q} + name={metric}.count + name={metric}.sum + name={metric}.min + name={metric}.max

Examples of sum processingExamples of sum processing

Cumulative SumCumulative Sum

Period

Increments

Sum

Value in Monium

Type

Note

#1

[1,1,1,2,2,2,3,3]

15

15

GAUGE

The sum value is used

#2

[3,4,1,2,-15]

10

10

GAUGE

The sum value is used

#3

[]

10

10

GAUGE

The last value is saved

Delta Sum, MonotonicDelta Sum, Monotonic

Period

Increments

Sum, interval

Value in Monium

Type

Note

#1

[1,1,1,2,2,2,3,3]

15, (0, 5]

3 (15 / 5)

RATE

Sum is divided by interval

#2

[3,4,1,2]

10, (5, 10]

2 (10 / 5)

RATE

Sum is divided by interval

#3

[]

0, (10, 15]

0 (0 / 5)

RATE

Null value

Non-monotonic delta sums are typically not used in OpenTelemetry.

Processing resource attributesProcessing resource attributes

Monium processes OTLP resource attributes as follows:

Preserved attributesPreserved attributes

The following resource attributes are preserved as metric labels:

Host attributes (prioritized from highest to lowest):

  • host
  • host.name
  • hostname

These attributes are saved under the host label.

Environment attributes (prioritized from highest to lowest):

  • env
  • deployment.environment.name
  • deployment.environment

These attributes are saved under the env label.

Kubernetes and Cloud attributes (saved without renaming):

  • cloud.availability_zone
  • cloud.region
  • container.name
  • k8s.cluster.name
  • k8s.container.name
  • k8s.cronjob.name
  • k8s.daemonset.name
  • k8s.deployment.name
  • k8s.job.name
  • k8s.namespace.name
  • k8s.pod.name
  • k8s.replicaset.name
  • k8s.statefulset.name

Reserved labelsReserved labels

If data point attributes use reserved label names, they are automatically renamed:

Original name

Renamed to

project

_project_

cluster

_cluster_

service

_service_

Other attributesOther attributes

Resource attributes not listed above are discarded.
All data point attributes are preserved as Monium metric labels.

Data formatData format

Monium supports the OTLP Protobuf format for all types of telemetry. The OTLP JSON format is currently supported for logs and traces.

See alsoSee also

  • SDKs for data transmission in OpenTelemetry format
  • Data transmission via OpenTelemetry Collector
  • OTLP specification
  • OpenTelemetry Metrics

Was the article helpful?

Previous
Overview
Next
Creating and setting up a project
© 2026 Direct Cursus Technology L.L.C.