Text and measures tile


This page is about Text and Measures tile in the AppMon web. To read about the AppMon Client dashlet, click Text and measurement dashlet.

Use the Text and Measurement tile to show the value of a measure, along with the custom text. You can use up to 40 measures here. In case of splitting each part counts as one measure. See Add and edit measures to learn how to add measures to the tile.

The tile supports Markdown and custom tags for color and style. Enter the code in the input area and the Preview panel immediately displays the results. Preview size is limited however, and content over the limit does not show until you save the dashlet.

To enable Markdown and custom tags:

  1. In the AppMon Client, select Settings menu > Dynatrace Server > Services item > Dynatrace Web tab.
  2. Check the Allow custom HTML check box.


The following placeholders are supported in web Text and Measurement tile:

Measurement: Inserts the value of the measure. The syntax is {1}, {2} for un-split measures, and {2.1}, {2.2}. for split measures. You can find placeholder for the particular measure in the list of measures.
Server base URL: Inserts the basic URL of the server. The syntax is {server-url}.
Server protocol: Inserts protocol, used by the server (http or https). The syntax is {server-protocol}.
Server host name: Inserts the host name of the server. The syntax is {server-name}.
Server port: Inserts the port of the server. The syntax is {server-port}.
Dashboard timeframe: Inserts the timeframe of the dashboard, in hours. The syntax is {dashboard-timeframe}.
Tile timeframe: Inserts the timeframe of the dashlet, in hours. The syntax is {tile-timeframe}.


In addition to placeholders, you can define variables, which can be a string, or a mathematical expression. Both can contain measure placeholders. The string variables should be inside quotes ("), e.g. "Dynatrace".

The variable name must be unique within a tile, and can only contain alphanumerical characters and underscores (_). The name cannot start with a number. The $ sign is added automatically in the beginning. Syntax for the my_var_1 variable is {$my_var_1}.

The following mathematical operations are supported. Measure placeholder can be an argument of any function.

Function syntax Description
+, -, /, *, ^ Basic mathematical operations: addition, subtraction, multiplication, division, exponentiation.
sqrt(x) Square root of x. Result is Not a Number, if x is negative.
abs(x) Absolute value (modulus) of x.
ceil(x) Ceiling of x — the smallest integer that is greater or equal to x.
floor(x) Floor of x — the largest integer that is less or equal to x.
round(x) x, rounded to the nearest integer, using the "gradeschool" rounding.
min(a,b,…) Get the smallest number from the list.
max(a,b,…) Get the largest number from the list.

Format text

You can format your text to get the desired appearance. There are two options for it: to use Markdown or CSS.


You can use Markdown to format your text, or add additional elements, like tables, links, images. You can find the Markdown documentation in the Markdown Cheatsheet, or at the Commonweb.org website.

The following Markdown features are supported:
Headings: You can use heading levels from 1 to 6. Markdown and placeholders work in headings.
Emphasis: You can add italic and bold using asterisks, underscores, and combination of both.
Lists: You can create numbered, or bulleted lists, and also create sub-list items. The List button of the Tile configurator creates a bulleted list.
Links: You can use absolute URLs, or anchors to Dynatrace Web, for example:
[Open this dashboard](#dashboard;db=ffd913d2-2158-40b6-8604-8293cdd3db81)
You can find the anchors in the address string of your browser. The filters applied to the dashboard or view that you link to are automatically persisted in the hash key.
Images: Images are inserted inline, so standalone picture requires its own line.
Code highlighting: You can highlight one or several words inline, or create a code block. Markdown is ignored inside the highlight, but placeholders and custom tags work.
Tables: Markdown, measure placeholders, and custom tags work inside cells.
Blockquotes: Markdown, measure placeholders, and custom tags work inside quotes.
Horizontal rules
Line breaks


You can define a custom Cascade Style Sheet (CSS) for your tile. It is limited to tile itself only, you can create different stylesheets for different tiles.

Expand the CSS section, and put your code in the editbox. The code is saved and applied automatically. You can find list of CSS parameters and their values in the CSS tutorial.

You can apply CSS styling as the class of <p>, <li>, or <span> tag.

Custom tags

You can use custom tags to change the color and style of your text. To add syntax, just select the text, and click the required button of the editor.

Color tag. The {color} custom tag adds color to the font. The syntax is {color:<color_definition>}Your text{color}. You can define color by name or HEX code, such as #6f2da8.
Style tag. The {style} custom tag allows you to apply CSS styles to your text. The syntax is {style:<CSS property>:<value>}Your text{style}. You can find list of CSS parameters and their values in the CSS tutorial.

Tile specific filters

In web tiles you can set a particular application as a data source, and the custom timeframe. These are independent from the dashboard data source and timeframe settings, so changing the dashboard data source or timeframe won't affect tile data source and timeframe.

Custom data source

To set a particular application as the tile data source:

  1. In the Tile configurator click Advanced settings.
  2. In the Application list, select the required application.
  3. Set the required timeframe.
  4. Click Done.

Custom timeframe

To set custom timeframe:

  1. In the Tile configurator click Advanced settings.
  2. In the Timeframe section, select the Tile specific timeframe radio button.
  3. Set the required timeframe.
  4. Click Done.