Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
Yandex Monitoring
  • Getting started
    • Service overview
    • Data model
    • Query language
      • Overview
      • Alert
      • Annotation
      • Notification channel
      • Escalations
    • Data downsampling
    • Deleting expired metrics (TTL)
    • Quotas and limits
  • Access management
  • Terraform reference
  • Release notes
  1. Concepts
  2. Alerting
  3. Annotation

Annotation

Written by
Yandex Cloud
Updated at September 19, 2024

Annotations enable you to save additional information during alert calculation. Annotations are not provided in notifications; you can view them on the alert page.

Annotations support mustache templates: you can use them to add alert parameters to your annotations.

Annotation examples:

Alert `{{alert.name}}` is in {{status.code}} state
Used disk space is {{pointValue}} Gbs, expected less than {{alert.warnThreshold}} Gbs

Complete list of alert parameters available in annotations:

Name Description
alert.projectId
alert.folderId
alert.id
alert.name
alert.state
alert.createdAt
alert.updatedAt
alert.createdBy
alert.updatedBy
alert.version
Shared alert parameters
alert.queries
alert.queryToCheck
alert.thresholdType
alert.comparison
alert.alarmThreshold
alert.warnThreshold
Threshold alert queries and comparison parameters
fromTime Beginning of the time interval in which the alert is calculated. This is a string in ISO8601 format, such as 2017-09-07T11:30:00Z.
toTime End of the time interval in which the alert is calculated. This is a string in ISO8601 format, such as 2017-09-07T12:00:00Z.
pointValue Metric value as of alert calculation.
status.code Alert status: OK, ALARM, WARN, NO_DATA, or ERROR.
isOk
isWarn
isAlarm
isNoData
isError
Boolean variables that can be used to find out the alert status, such as:

not_var{{#isAlarm}}Disk usage is too high!not_var{{/isAlarm}}
not_var{{^isAlarm}}Disk usage is ok.not_var{{/isAlarm}}

Was the article helpful?

Previous
Alert
Next
Notification channel
© 2025 Direct Cursus Technology L.L.C.