Uptrace · Schema

Uptrace Annotation

A chart annotation marking a deployment, incident, or other significant event in Uptrace

APMObservabilityOpenTelemetryDistributed TracingMonitoring

Properties

Name Type Description
id integer Unique annotation identifier
projectId integer Associated project identifier
name string Annotation label displayed on charts
description string Markdown-formatted description
tags array Classification tags (e.g., deployment, incident)
attrs object Custom key-value attributes (e.g., version, service)
time string Time of the annotated event
createdAt string
updatedAt string
View JSON Schema on GitHub

JSON Schema

uptrace-annotation-schema.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/uptrace/main/json-schema/uptrace-annotation-schema.json",
  "title": "Uptrace Annotation",
  "description": "A chart annotation marking a deployment, incident, or other significant event in Uptrace",
  "type": "object",
  "required": ["id", "projectId", "name"],
  "properties": {
    "id": { "type": "integer", "description": "Unique annotation identifier" },
    "projectId": { "type": "integer", "description": "Associated project identifier" },
    "name": { "type": "string", "description": "Annotation label displayed on charts" },
    "description": { "type": "string", "description": "Markdown-formatted description" },
    "tags": {
      "type": "array",
      "items": { "type": "string" },
      "description": "Classification tags (e.g., deployment, incident)"
    },
    "attrs": {
      "type": "object",
      "additionalProperties": { "type": "string" },
      "description": "Custom key-value attributes (e.g., version, service)"
    },
    "time": { "type": "string", "format": "date-time", "description": "Time of the annotated event" },
    "createdAt": { "type": "string", "format": "date-time" },
    "updatedAt": { "type": "string", "format": "date-time" }
  }
}