You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. From the Azure Workbooks page, select an empty template or select **New** in the top toolbar.
21
-
1. Combine any of these steps to include the elements you want to the workbook:
22
-
-[Add text to your workbook](workbooks-add-text.md)
23
-
-[Add parameters to your workbook](workbooks-parameters.md)
24
-
- Add queries to your workbook
25
-
-[Combine data from different sources](workbooks-combine-data.md)
26
-
- Add Metrics to your workbook
27
-
- Add Links to your workbook
28
-
- Add Groups to your workbook
29
-
- Add more configuration options to your workbook
22
+
1. Combine any of these elements to add to your workbook:
23
+
-[Text](#text)
24
+
- Parameters
25
+
-[Queries](#queries)
26
+
- Metrics
27
+
- Links
28
+
- Groups
29
+
- Configuration options
30
+
31
+
## Text
32
+
33
+
Workbooks allow authors to include text blocks in their workbooks. The text can be human analysis of the telemetry, information to help users interpret the data, section headings, etc.
34
+
35
+
:::image type="content" source="media/workbooks-add-text/workbooks-text-example.png" alt-text="Screenshot of adding text to a workbook.":::
36
+
37
+
Text is added through a markdown control into which an author can add their content. An author can use the full formatting capabilities of markdown. These include different heading and font styles, hyperlinks, tables, etc. This allows authors to create rich Word- or Portal-like reports or analytic narratives. Text can contain parameter values in the markdown text, and those parameter references will be updated as the parameters change.
38
+
39
+
**Edit mode**:
40
+
:::image type="content" source="media/workbooks-add-text/workbooks-text-control-edit-mode.png" alt-text="Screenshot showing adding text to a workbook in edit mode.":::
41
+
42
+
**Preview mode**:
43
+
:::image type="content" source="media/workbooks-add-text/workbooks-text-control-edit-mode-preview.png" alt-text="Screenshot showing adding text to a workbook in preview mode.":::
44
+
45
+
### Add text to an Azure workbook
46
+
1. Make sure you are in **Edit** mode. Add a query by doing any one of the following:
47
+
- Select **Add**, and **Add text** below an existing element, or at the bottom of the workbook.
48
+
- Select the ellipses (...) to the right of the **Edit** button next to one of the elements in the workbook, then select **Add** and then **Add text**.
49
+
1. Enter markdown text into the editor field.
50
+
1. Use the **Text Style** option to switch between plain markdown, and markdown wrapped with the Azure portal's standard info/warning/success/error styling.
51
+
52
+
> [!TIP]
53
+
> Use this [markdown cheat sheet](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet) to see the different formatting options.
54
+
55
+
1. Use the Preview tab to see how your content will look. While editing, the preview will show the content inside a scrollable area to limit its size, but when displayed at runtime, the markdown content will expand to fill whatever space it needs, with out a scrollbar.
|info| The portal's "info" style, with a `ℹ` or similar icon and blue background |
65
+
|error| The portal's "error" style, with a `❌` or similar icon and red background |
66
+
|success| The portal's "success" style, with a `✔` or similar icon and green background |
67
+
|upsell| The portal's "upsell" style, with a `🚀` or similar icon and purple background |
68
+
|warning| The portal's "warning" style, with a `⚠` or similar icon and blue background |
69
+
70
+
71
+
You can also choose a text parameter as the source of the style. The parameter value must be one of the above text values. The absence of a value, or any unrecognized value will be treated as `plain` style.
72
+
73
+
### Text style examples
74
+
75
+
**Info style example**:
76
+
:::image type="content" source="media/workbooks-add-text/workbooks-text-control-edit-mode-preview.png" alt-text="Screenshot of adding text to a workbook in preview mode showing info style.":::
77
+
78
+
**Warning style example**:
79
+
:::image type="content" source="media/workbooks-add-text/workbooks-text-example-warning.png" alt-text="Screenshot of a text visualization in warning style.":::
80
+
81
+
## Queries
82
+
83
+
Azure Workbooks allow you to query any of the supported workbook [data sources](workbooks-data-sources.md).
84
+
85
+
For example, you can query Azure Resource Health that helps you view any service problems affecting your resources, or you can query Azure Monitor Metrics, which are numeric data that is collected at regular intervals and describe some aspect of a system at a particular time.
86
+
87
+
### Add a query to an Azure Workbook
88
+
89
+
1. Make sure you are in **Edit** mode. Add a query by doing any one of the following:
90
+
- Select **Add**, and **Add query** below an existing element, or at the bottom of the workbook.
91
+
- Select the ellipses (...) to the right of the **Edit** button next to one of the elements in the workbook, then select **Add** and then **Add query**.
92
+
1. Select the [Data source](workbooks-data-sources.md) for your query. The other fields are determined based on the data source you choose.
93
+
1. Select any other values that are required based on the data source you selected.
94
+
1. Select the [Visualization](workbooks-visualizations.md) for your workbook.
95
+
1. In the query section, enter your query, or select from a list of sample queries by selecting **Samples**, and then edit the query to your liking.
96
+
1. Select **Run Query**.
97
+
1. When you are sure you have the query you want in your workbook, select **Done editing**.
0 commit comments