• Home
  • Dynatrace API
  • Environment
  • Settings
  • Schemas
  • Availability cards

Settings 2.0 - Availability cards schema

Availability cards (builtin:ua.availability-card)

Specifies the behavior of availability card. Thresholds, metric and entity selectors, etc.

Schema IDSchema groupsScope
builtin:ua.availability-card
  • group:unified-analysis
environment
Retrieve schema via Settings API
GETManagedhttps://{your-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:ua.availability-card
SaaShttps://{your-environment-id}.live.dynatrace.com/api/v2/settings/schemas/builtin:ua.availability-card
Environment ActiveGatehttps://{your-activegate-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:ua.availability-card

Authentication

To execute this request, you need an access token with Read settings (settings.read) scope. To learn how to obtain and use it, see Tokens and authentication.

Parameters

PropertyLabelTypeDescriptionRequired
keyKeytext

Unique key, which is used to map to this availability card in the screen layout config

required
displayNameDisplay nametext

The title of the availability card.

optional
descriptionDescriptiontext

The description of the card

Markdown syntax can be used to enrich description. To define a link, you can only use seaOtter links (https://dt-url.net/XXXXXXX) or action expression

The format of a single action expression is: actionName|key=param|key2=param2

optional
metricSelectorMetric selector expressiontext

A metric selector expression for a dedicated metric line

required
entitySelectorTemplateEntity selector templatetext

An optional entity selector template

optional
showSummaryShow availability summaryboolean

Enable or disable average availability summary in percent over selected timeframe

required
defaultValueDefault valueinteger

A value that replace missing values

required
thresholdsAvailability thresholdsset

Configure availability thresholds

required

Request body objects

The Threshold object
PropertyLabelTypeDescriptionRequired
labelThreshold labeltext

A label of threshold shown in chart legend

required
valueThreshold minimum valueinteger

Values equal and greater than that value are assigned to threshold

required
colorThreshold colortext

A color shown on availability chart assigned to this threshold

required