Skip to content

Create and Manage Annotations

Use annotations in Custom Dashboards to call out important events or value thresholds on your charts. Annotations help you correlate deployments, incidents, and recurring patterns with trends you see in logs, spans, metrics, and DataPrime queries.

By the end of this tutorial, you’ll be able to add, configure, and display annotations on your widgets using queries or manual inputs.

Overview

Annotations add visual markers, in the form of dotted lines or shaded areas, directly on your charts. These markers highlight key events or thresholds so you can quickly connect changes in your logs, spans, or metrics to real-world actions such as deployments, incidents, or configuration updates.

  • Vertical annotations highlight a point in time or a time range.
  • Horizontal annotations highlight a numeric value or range.
  • Hover over an annotation to see its details, labels, and optional text with placeholders.
  • Apply annotations to all relevant widgets in a dashboard or only to selected widgets.

Create an annotation

Add a new annotation by opening the annotations panel in your custom dashboard.

1

At the top of your dashboard click annotate-icon Manage Annotations.

2

In the ANNOTATIONS panel, click + Annotation.

3

In the Create annotation drawer, configure the annotation settings.

Annotation-drawer

4

If you are satisfied with the annotation displayed in the Preview, click Add.

Details

Identify your annotation.

  • Annotation name: Give the annotation a clear, descriptive name.
  • Description: Optionally, add the annotation context or purpose for your team.

Annotation settings

Define how the annotation is generated and applied to widgets.

Source

Select one of the supported sources:

Annotation source menu showing available sources.
SourceOrientationTypeDescription
LogsVerticalSingle / RangeLucene query; select timestamp fields.
SpansVerticalSingle / RangeSimilar to logs; duration fields often available.
Event recurrence (pending-release)VerticalSingle / RangeDefine repeating weekly periods (day, start time, duration).
MetricsVertical or HorizontalSingleChoose a metric or enter a PromQL query.
DataPrimeVertical or HorizontalSingle / RangeUse a DataPrime query; map timestamp or value fields.
ManualVertical or HorizontalSingle / RangeSelect dates and times from the picker or numeric values manually.

For query-based sources (logs, metrics, spans, DataPrime), annotations appear when data in your system matches the query. Each time the dashboard refreshes, the annotation is redrawn based on the latest matching results.

Before creating a query-based annotation, make sure you know which fields in your data represent timestamps or numeric values. You’ll need these when selecting start and end times or value ranges.

Mode

Select where the annotation query runs:

  • Frequent Search: Runs in the Frequent Search pipeline, alongside dashboard queries.
  • Monitoring: Runs in the Monitoring pipeline.

Mode selection is available for logs, spans, and DataPrime query sources only.
These sources run queries directly against Coralogix data pipelines, so you can choose where the query executes.

Note

In Coralogix, logs and traces are routed to different pipelines, known as priority levels, based on your data policy.

  • Frequent Search data stored on fast SSDs (solid state drive) for low-latency queries.

  • Monitoring data is optimized for dashboards, alerts, and analysis at scale across longer time horizons.

Learn more about TCO pipelines.

Annotation type

Choose Single or Range.

  • Single: One timestamp or value field.
  • Range: Start + end fields, or start + duration field (a data attribute such as duration_ms).

Orientation

Decide whether to plot the annotation on the time axis (vertical) or the value axis (horizontal). Horizontal orientation is supported only for metrics, DataPrime, and manual sources.
OrientationDescriptionTypical useSupported sources
VerticalMarks a point in time or time rangeDeployments, outages, recurring eventsAll sources
HorizontalMarks a numeric value or rangeThresholds, KPI limits, averagesMetrics, DataPrime, Manual

Apply to

Choose whether the annotation appears on all widgets or only on selected widgets.

  • Vertical annotations (time-based) apply to all relevant widgets by default.
  • Horizontal annotations (value-based) are unit-specific, so you must manually select each widget where the annotation should appear.

Select which widgets to include when applying a horizontal or scoped annotation.

Display settings

Customize how the annotation appears on your dashboard.

  • Text on hover: Optional message shown when hovering. Use double curly braces for dynamic placeholders, for example: app: {{applicationname}} - subsystem: {{subsystemname}} - version#: {{cx_rum.version_metadata.app_version}}
  • Labels on hover: Select fields to display as key: value pairs in the tooltip.
  • Color: Pick a color to group similar annotations (for example, deployments as red and maintenance as yellow).

Hide annotations

When an annotation is created, it applies to all time-based widgets in your dashboard. Toggle your annotation on and off for all widgets in the dashboard toolbar.

Toggle an annotation on and off in a specific widget by clicking on the annotation name in the widget legend.

Modify or delete annotations

1

At the top of your dashboard click annotate-icon Manage Annotations.

2

In the ANNOTATIONS panel, click Edit Annotation to update or Delete Annotation to remove the annotation.

Additional resources

8.12 Coralogix Academy - Adding Annotations to Dashboard Widgets
8.12 Coralogix Academy - Adding Annotations to Dashboard Widgets
Adding Annotations to Dashboard Widgets