Enterprise Grafana Cloud
Last reviewed: September 2, 2026

AppDynamics annotations

Use the AppDynamics Events query type to overlay Controller events on time-series panels. Typical markers include deployments, errors, slow transactions, and policy activity.

To mark health-rule policy activity, use Events with POLICY_* values in event-types. The Health query type returns a table of health rule violations. It isn’t an annotation query.

For an overview of annotations, refer to Annotate visualizations.

Create an annotation

To create an annotation using AppDynamics event data:

  1. Open your dashboard and click Dashboard settings (gear icon).
  2. Select Annotations from the left menu.
  3. Click Add annotation query.
  4. Configure the annotation:
    • Name: Enter a descriptive name for the annotation.
    • Data source: Select your AppDynamics data source.
    • Enabled: Toggle on to display the annotation.
    • Color: Choose a color for the annotation markers.
  5. Select Events from the query type radio buttons.
  6. Configure the Events query fields described in the following section.
  7. Click Save dashboard.

Events query fields

The Events query type retrieves events from the AppDynamics Controller REST API. eventtype and event-types are different fields. Use event-types to choose which events AppDynamics returns. Leave eventtype at the editor default unless you have a reason to change it.

The editor marks summary and comment required. Fill them to satisfy the form. They don’t replace event-types.

FieldDescriptionRequired
application_idApplication name or ID. Select from the drop-down, or type a template variable such as ${application} as a custom value.Yes
summarySummary text. Required by the editor.Yes
commentComment text. Required by the editor.Yes
eventtypeSeparate from event-types. The editor default is APPLICATION_DEVELOPMENT.Yes
time-range-typeHow the time window is calculated: BETWEEN_TIMES (default), BEFORE_NOW, BEFORE_TIME, or AFTER_TIME.Yes
duration-in-minsDuration in minutes. Used with BEFORE_NOW, BEFORE_TIME, or AFTER_TIME.No
start-timeStart time in milliseconds. Hidden when Use dashboard’s time picker is on.No
end-timeEnd time in milliseconds. Hidden when Use dashboard’s time picker is on.No
event-typesEvent types to retrieve. Pick one value, or type a comma-separated list as a custom value. AppDynamics retrieve requests require this field even though the editor doesn’t mark it required.No
severitiesINFO, WARN, or ERROR. Pick one value, or type a comma-separated list such as WARN,ERROR.Yes
tierLimit events to a tier.No

The Events query type includes a Use dashboard’s time picker toggle. When enabled (the default for new queries), the query uses the dashboard time range and hides start-time and end-time. When disabled, set a fixed range with time-range-type, start-time, end-time, and duration-in-mins as needed.

Common event types

Use these values in event-types. They aren’t interchangeable with the eventtype default.

Event typeDescription
APPLICATION_DEPLOYMENTApplication deployment events
APP_SERVER_RESTARTApplication server restart events
APPLICATION_ERRORApplication errors
APPLICATION_CONFIG_CHANGEConfiguration changes
POLICY_OPEN_CRITICALCritical policy violation opened
POLICY_OPEN_WARNINGWarning policy violation opened
POLICY_CLOSE_CRITICALCritical policy violation resolved
POLICY_CLOSE_WARNINGWarning policy violation resolved
SLOWSlow transaction events
VERY_SLOWVery slow transaction events
STALLStalled transaction events
DEADLOCKDeadlock events

For the complete list of supported event types, refer to the AppDynamics Events API.

Example: Deployment annotations

Overlay application deployment events to correlate deployments with performance changes:

  1. Create a new annotation query.
  2. Select Events from the query type radio buttons.
  3. Select your application from application_id, or type ${application}.
  4. Fill summary and comment.
  5. Leave eventtype at the default.
  6. Select APPLICATION_DEPLOYMENT from event-types.
  7. Select INFO from severities.
  8. Leave Use dashboard’s time picker enabled.

Example: Policy violation annotations

Overlay policy open and close events. This uses the Events query with POLICY_* types, not the Health query type.

  1. Create a new annotation query.
  2. Select Events from the query type radio buttons.
  3. Select your application from application_id, or type ${application}.
  4. Fill summary and comment.
  5. Leave eventtype at the default.
  6. In event-types, type POLICY_OPEN_CRITICAL,POLICY_OPEN_WARNING,POLICY_CLOSE_CRITICAL,POLICY_CLOSE_WARNING.
  7. In severities, type WARN,ERROR.
  8. Leave Use dashboard’s time picker enabled.

Example: Error and slow transaction annotations

Mark error and slow transaction events on response time graphs:

  1. Create a new annotation query.
  2. Select Events from the query type radio buttons.
  3. Select your application from application_id, or type ${application}.
  4. Fill summary and comment.
  5. Leave eventtype at the default.
  6. In event-types, type APPLICATION_ERROR,SLOW,VERY_SLOW,STALL.
  7. In severities, type WARN,ERROR.
  8. Leave Use dashboard’s time picker enabled.

Use template variables in annotations

You can use template variables in annotation queries. The application_id drop-down lists applications, not dashboard variables. Type ${application} as a custom value rather than selecting a numeric application ID.

Annotation display options

Grafana annotation queries also include display settings:

  • Color: Choose a color for the markers.
  • Show in: Choose all panels or specific panels.
  • Hide: Hide the annotation without deleting it.

Additional resources