Skip to content

Commit 15b727a

Browse files
authored
Merge pull request #257647 from v-jbasden/v-jbasden-convert-images-to-learn-format-visualizations-1
[BULK UPDATE #1] Converting Azure Monitor legacy image formatting to Learn formatting - Visualizations subservice
2 parents 79577a2 + d499d7d commit 15b727a

10 files changed

+182
-175
lines changed

articles/azure-monitor/visualize/grafana-plugin.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,15 @@ Sign in to Grafana by using the endpoint URL of your Azure Managed Grafana works
4545

4646
Azure Managed Grafana includes an Azure Monitor data source plug-in. By default, the plug-in is preconfigured with a managed identity that can query and visualize monitoring data from all resources in the subscription in which the Grafana workspace was deployed. Skip ahead to the section "Build a Grafana dashboard."
4747

48-
![Screenshot that shows the Azure Managed Grafana home page.](./media/grafana-plugin/azure-managed-grafana.png)
48+
:::image type="content" source="./media/grafana-plugin/azure-managed-grafana.png" lightbox="./media/grafana-plugin/azure-managed-grafana.png" alt-text="Screenshot that shows the Azure Managed Grafana home page.":::
4949

5050
You can expand the resources that can be viewed by your Azure Managed Grafana workspace by [configuring additional permissions](../../managed-grafana/how-to-permissions.md) to assign the included managed identity the [Monitoring Reader role](../roles-permissions-security.md) on other subscriptions or resources.
5151

5252
If you're using an instance that isn't Azure Managed Grafana, you have to set up an Azure Monitor data source.
5353

5454
1. Select **Add data source**, filter by the name **Azure**, and select the **Azure Monitor** data source.
5555

56-
![Screenshot that shows Azure Monitor data source selection.](./media/grafana-plugin/azure-monitor-data-source-list.png)
56+
:::image type="content" source="./media/grafana-plugin/azure-monitor-data-source-list.png" lightbox="./media/grafana-plugin/azure-monitor-data-source-list.png" alt-text="Screenshot that shows Azure Monitor data source selection.":::
5757

5858
1. Pick a name for the data source and choose between managed identity or app registration for authentication.
5959

@@ -67,7 +67,7 @@ If you're hosting Grafana on your own Azure Virtual Machines or Azure App Servic
6767

6868
1. Select **Save & test** and Grafana will test the credentials. You should see a message similar to the following one.
6969

70-
![Screenshot that shows Azure Monitor data source with config-approved managed identity.](./media/grafana-plugin/managed-identity.png)
70+
:::image type="content" source="./media/grafana-plugin/managed-identity.png" lightbox="./media/grafana-plugin/managed-identity.png" alt-text="Screenshot that shows Azure Monitor data source with config-approved managed identity.":::
7171

7272
### Use app registration
7373

@@ -85,17 +85,17 @@ If you're hosting Grafana on your own Azure Virtual Machines or Azure App Servic
8585
8686
1. Select **Save & test** and Grafana will test the credentials. You should see a message similar to the following one.
8787

88-
![Screenshot that shows Azure Monitor data source configuration with the approved app registration.](./media/grafana-plugin/app-registration.png)
88+
:::image type="content" source="./media/grafana-plugin/app-registration.png" lightbox="./media/grafana-plugin/app-registration.png" alt-text="Screenshot that shows Azure Monitor data source configuration with the approved app registration.":::
8989

9090
## Use out-of-the-box dashboards
9191

9292
Azure Monitor contains out-of-the-box dashboards to use with Azure Managed Grafana and the Azure Monitor plugin.
9393

94-
:::image type="content" source="media/grafana-plugin/grafana-out-of-the-box-dashboards.png" alt-text="Screenshot that shows out of the box Azure Monitor grafana dashboards.":::
94+
:::image type="content" source="media/grafana-plugin/grafana-out-of-the-box-dashboards.png" lightbox="media/grafana-plugin/grafana-out-of-the-box-dashboards.png" alt-text="Screenshot that shows out of the box Azure Monitor grafana dashboards.":::
9595

9696
Azure Monitor also supports out-of-the-box dashboards for seamless integration with Azure Monitor managed service for Prometheus. These dashboards are automatically deployed to Azure Managed Grafana when linked to Azure Monitor managed service for Prometheus.
9797

98-
:::image type="content" source="media/grafana-plugin/grafana-out-of-the-box-dashboards-prometheus.png" alt-text="Screenshot that shows out of the box Azure Monitor grafana dashboards for Azure Monitor managed service for Prometheus.":::
98+
:::image type="content" source="media/grafana-plugin/grafana-out-of-the-box-dashboards-prometheus.png" lightbox="media/grafana-plugin/grafana-out-of-the-box-dashboards-prometheus.png" alt-text="Screenshot that shows out of the box Azure Monitor grafana dashboards for Azure Monitor managed service for Prometheus.":::
9999
## Build a Grafana dashboard
100100

101101
1. Go to the Grafana home page and select **New Dashboard**.
@@ -104,30 +104,30 @@ Azure Monitor also supports out-of-the-box dashboards for seamless integration w
104104

105105
1. A blank graph shows up on your dashboard. Select the panel title and select **Edit** to enter the details of the data you want to plot in this graph chart.
106106

107-
![Screenshot that shows Grafana new panel dropdown list options.](./media/grafana-plugin/grafana-new-graph-dark.png)
107+
:::image type="content" source="./media/grafana-plugin/grafana-new-graph-dark.png" lightbox="./media/grafana-plugin/grafana-new-graph-dark.png" alt-text="Screenshot that shows Grafana new panel dropdown list options.":::
108108

109109
1. Select the Azure Monitor data source you've configured.
110110
* Visualizing Azure Monitor metrics: Select **Azure Monitor** in the service dropdown list. A list of selectors shows up where you can select the resources and metric to monitor in this chart. To collect metrics from a VM, use the namespace `Microsoft.Compute/VirtualMachines`. After you've selected VMs and metrics, you can start viewing their data in the dashboard.
111111

112-
![Screenshot that shows Grafana panel config for Azure Monitor metrics.](./media/grafana-plugin/grafana-graph-config-for-azure-monitor-dark.png)
112+
:::image type="content" source="./media/grafana-plugin/grafana-graph-config-for-azure-monitor-dark.png" lightbox="./media/grafana-plugin/grafana-graph-config-for-azure-monitor-dark.png" alt-text="Screenshot that shows Grafana panel config for Azure Monitor metrics.":::
113113
* Visualizing Azure Monitor log data: Select **Azure Log Analytics** in the service dropdown list. Select the workspace you want to query and set the query text. You can copy here any log query you already have or create a new one. As you enter your query, IntelliSense suggests autocomplete options. Select the visualization type, **Time series** > **Table**, and run the query.
114114

115115
> [!NOTE]
116116
>
117117
> The default query provided with the plug-in uses two macros: `$__timeFilter()` and `$__interval`.
118118
> These macros allow Grafana to dynamically calculate the time range and time grain, when you zoom in on part of a chart. You can remove these macros and use a standard time filter, such as `TimeGenerated > ago(1h)`, but that means the graph wouldn't support the zoom-in feature.
119119
120-
![Screenshot of Grafana panel config for Azure Monitor logs.](./media/grafana-plugin/grafana-graph-config-for-azure-log-analytics-dark.png)
120+
:::image type="content" source="./media/grafana-plugin/grafana-graph-config-for-azure-log-analytics-dark.png" lightbox="./media/grafana-plugin/grafana-graph-config-for-azure-log-analytics-dark.png" alt-text="Screenshot of Grafana panel config for Azure Monitor logs.":::
121121

122122
1. The following dashboard has two charts. The one on the left shows the CPU percentage of two VMs. The chart on the right shows the transactions in an Azure Storage account broken down by the Transaction API type.
123123

124-
![Screenshot of Grafana dashboards with two panels.](media/grafana-plugin/grafana6.png)
124+
:::image type="content" source="media/grafana-plugin/grafana6.png" lightbox="media/grafana-plugin/grafana6.png" alt-text="Screenshot of Grafana dashboards with two panels.":::
125125

126126
## Pin charts from the Azure portal to Azure Managed Grafana
127127

128128
In addition to building your panels in Grafana, you can also quickly pin Azure Monitor visualizations from the Azure portal to new or existing Grafana dashboards by adding panels to your Grafana dashboard directly from Azure Monitor. Go to **Metrics** for your resource. Create a chart and select **Save to dashboard**, followed by **Pin to Grafana**. Choose the workspace and dashboard and select **Pin** to complete the operation.
129129

130-
[![Screenshot that shows the Pin to Grafana option in the Azure Monitor metrics explorer.](media/grafana-plugin/grafana-pin-to.png)](media/grafana-plugin/grafana-pin-to-expanded.png#lightbox)
130+
:::image type="content" source="media/grafana-plugin/grafana-pin-to.png" lightbox="media/grafana-plugin/grafana-pin-to.png" alt-text="Screenshot that shows the Pin to Grafana option in the Azure Monitor metrics explorer.":::
131131

132132
## Advanced Grafana features
133133

@@ -145,7 +145,7 @@ Usage
145145

146146
You can configure a variable that will list all available **Solution** values and then update your query to use it. To create a new variable, select the dashboard's **Settings** button in the top right area, select **Variables**, and then select **New**. On the variable page, define the data source and query to run to get the list of values.
147147

148-
![Screenshot that shows a Grafana configure variable.](./media/grafana-plugin/grafana-configure-variable-dark.png)
148+
:::image type="content" source="./media/grafana-plugin/grafana-configure-variable-dark.png" lightbox="./media/grafana-plugin/grafana-configure-variable-dark.png" alt-text="Screenshot that shows a Grafana configure variable.":::
149149

150150
After it's created, adjust the query to use the selected values, and your charts will respond accordingly:
151151

@@ -156,13 +156,13 @@ Usage
156156
| sort by TimeGenerated
157157
```
158158

159-
![Screenshot that shows Grafana use variables.](./media/grafana-plugin/grafana-use-variables-dark.png)
159+
:::image type="content" source="./media/grafana-plugin/grafana-use-variables-dark.png" lightbox="./media/grafana-plugin/grafana-use-variables-dark.png" alt-text="Screenshot that shows Grafana use variables.":::
160160

161161
### Create dashboard playlists
162162

163163
One of the many useful features of Grafana is the dashboard playlist. You can create multiple dashboards and add them to a playlist configuring an interval for each dashboard to show. Select **Play** to see the dashboards cycle through. You might want to display them on a large wall monitor to provide a status board for your group.
164164

165-
![Screenshot that shows a Grafana playlist example.](./media/grafana-plugin/grafana7.png)
165+
:::image type="content" source="./media/grafana-plugin/grafana7.png" lightbox="./media/grafana-plugin/grafana7.png" alt-text="Screenshot that shows a Grafana playlist example.":::
166166
## Optional: Monitor other datasources in the same Grafana dashboards
167167

168168
There are many data source plug-ins that you can use to bring these metrics together in a dashboard.
@@ -175,7 +175,7 @@ Here are good reference articles on how to use Telegraf, InfluxDB, Azure Monitor
175175

176176
Here's an image of a full Grafana dashboard that has metrics from Azure Monitor and Application Insights.
177177

178-
![Screenshot that shows a Grafana dashboard with multiple panels.](media/grafana-plugin/grafana8.png)
178+
:::image type="content" source="media/grafana-plugin/grafana8.png" lightbox="media/grafana-plugin/grafana8.png" alt-text="Screenshot that shows a Grafana dashboard with multiple panels.":::
179179
## Clean up resources
180180

181181
If you've set up a Grafana environment on Azure, you're charged when resources are running whether you're using them or not. To avoid incurring additional charges, clean up the resource group created in this article.

articles/azure-monitor/visualize/tutorial-logs-dashboards.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ Sign in to the [Azure portal](https://portal.azure.com).
2626

2727
## Create a shared dashboard
2828
Select **Dashboard** to open your default [dashboard](../../azure-portal/azure-portal-dashboards.md). Your dashboard will look different from the following example.
29-
30-
![Screenshot that shows an Azure portal dashboard.](media/tutorial-logs-dashboards/log-analytics-portal-dashboard.png)
29+
<!-- convertborder later -->
30+
:::image type="content" source="media/tutorial-logs-dashboards/log-analytics-portal-dashboard.png" lightbox="media/tutorial-logs-dashboards/log-analytics-portal-dashboard.png" alt-text="Screenshot that shows an Azure portal dashboard." border="false":::
3131

3232
Here you can bring together operational data that's most important to IT across all your Azure resources, including telemetry from Azure Log Analytics. Before we visualize a log query, let's first create a dashboard and share it. We can then focus on our example performance log query, which will render as a line chart, and add it to the dashboard.
3333

@@ -40,14 +40,14 @@ Here you can bring together operational data that's most important to IT across
4040
> - `timechart`
4141
4242
To create a dashboard, select **New dashboard**.
43+
<!-- convertborder later -->
44+
:::image type="content" source="media/tutorial-logs-dashboards/log-analytics-create-dashboard-01.png" lightbox="media/tutorial-logs-dashboards/log-analytics-create-dashboard-01.png" alt-text="Screenshot that shows creating a new dashboard in the Azure portal." border="false":::
4345

44-
![Screenshot that shows creating a new dashboard in the Azure portal.](media/tutorial-logs-dashboards/log-analytics-create-dashboard-01.png)
45-
46-
This action creates a new, empty, private dashboard. It opens in a customization mode where you can name your dashboard and add or rearrange tiles. Edit the name of the dashboard and specify **Sample Dashboard** for this tutorial. Then select **Done customizing**.<br><br> ![Screenshot that shows saving a customized Azure dashboard.](media/tutorial-logs-dashboards/log-analytics-create-dashboard-02.png)
46+
This action creates a new, empty, private dashboard. It opens in a customization mode where you can name your dashboard and add or rearrange tiles. Edit the name of the dashboard and specify **Sample Dashboard** for this tutorial. Then select **Done customizing**.<br><br> <!-- convertborder later -->:::image type="content" source="media/tutorial-logs-dashboards/log-analytics-create-dashboard-02.png" lightbox="media/tutorial-logs-dashboards/log-analytics-create-dashboard-02.png" alt-text="Screenshot that shows saving a customized Azure dashboard." border="false":::
4747

4848
When you create a dashboard, it's private by default, so you're the only person who can see it. To make it visible to others, select **Share**.
49-
50-
![Screenshot that shows sharing a new dashboard in the Azure portal.](media/tutorial-logs-dashboards/log-analytics-share-dashboard.png)
49+
<!-- convertborder later -->
50+
:::image type="content" source="media/tutorial-logs-dashboards/log-analytics-share-dashboard.png" lightbox="media/tutorial-logs-dashboards/log-analytics-share-dashboard.png" alt-text="Screenshot that shows sharing a new dashboard in the Azure portal." border="false":::
5151

5252
Choose a subscription and resource group for your dashboard to be published to. For convenience, you're guided toward a pattern where you place dashboards in a resource group called **dashboards**. Verify the subscription selected and then select **Publish**. Access to the information displayed in the dashboard is controlled with [Azure role-based access control](../../role-based-access-control/role-assignments-portal.md).
5353

@@ -57,8 +57,8 @@ Choose a subscription and resource group for your dashboard to be published to.
5757
In this tutorial, you'll use Log Analytics to create a performance view in graphical form and save it for a future query. Then you'll pin it to the shared dashboard you created earlier.
5858

5959
Open Log Analytics by selecting **Logs** on the Azure Monitor menu. It starts with a new blank query.
60-
61-
![Screenshot that shows the home page.](media/tutorial-logs-dashboards/homepage.png)
60+
<!-- convertborder later -->
61+
:::image type="content" source="media/tutorial-logs-dashboards/homepage.png" lightbox="media/tutorial-logs-dashboards/homepage.png" alt-text="Screenshot that shows the home page." border="false":::
6262

6363
Enter the following query to return processor utilization records for both Windows and Linux computers. The records are grouped by `Computer` and `TimeGenerated` and displayed in a visual chart. Select **Run** to run the query and view the resulting chart.
6464

@@ -71,17 +71,17 @@ Perf
7171

7272
Save the query by selecting **Save**.
7373

74-
:::image type="content" source="media/tutorial-logs-dashboards/save-query.png" alt-text="Screenshot that shows how to save a query and pin it to a dashboard.":::
74+
:::image type="content" source="media/tutorial-logs-dashboards/save-query.png" lightbox="media/tutorial-logs-dashboards/save-query.png" alt-text="Screenshot that shows how to save a query and pin it to a dashboard.":::
7575

7676
In the **Save Query** control panel, provide a name such as **Azure VMs - Processor Utilization** and a category such as **Dashboards**. Select **Save**. This way you can create a library of common queries that you can use and modify. Finally, pin this query to the shared dashboard you created earlier. Select the **Pin to dashboard** button in the upper-right corner of the page and then select the dashboard name.
7777

7878
Now that we have a query pinned to the dashboard, you'll notice that it has a generic title and comment underneath it.
7979

80-
:::image type="content" source="media/tutorial-logs-dashboards/log-analytics-modify-dashboard-01.png" alt-text="Screenshot that shows an Azure dashboard sample.":::
80+
:::image type="content" source="media/tutorial-logs-dashboards/log-analytics-modify-dashboard-01.png" lightbox="media/tutorial-logs-dashboards/log-analytics-modify-dashboard-01.png" alt-text="Screenshot that shows an Azure dashboard sample.":::
8181

8282
Rename the query with a meaningful name that can be easily understood by anyone who views it. Select **Edit** to customize the title and subtitle for the tile, and then select **Update**. A banner appears that asks you to publish changes or discard. Select **Save a copy**.
8383

84-
:::image type="content" source="media/tutorial-logs-dashboards/log-analytics-modify-dashboard-02.png" alt-text="Screenshot that shows a completed configuration of a sample dashboard.":::
84+
:::image type="content" source="media/tutorial-logs-dashboards/log-analytics-modify-dashboard-02.png" lightbox="media/tutorial-logs-dashboards/log-analytics-modify-dashboard-02.png" alt-text="Screenshot that shows a completed configuration of a sample dashboard.":::
8585

8686
## Next steps
8787
In this tutorial, you learned how to create a dashboard in the Azure portal and add a log query to it. Follow this link to see prebuilt Log Analytics script samples.

articles/azure-monitor/visualize/workbooks-automate.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ Two types of workbook resources can be managed programmatically:
2929
1. Switch the workbook to edit mode by selecting **Edit**.
3030
1. Open the **Advanced Editor** by using the **</>** button on the toolbar.
3131
1. Ensure you're on the **Gallery Template** tab.
32-
33-
![Screenshot that shows the Gallery Template tab.](./media/workbooks-automate/gallery-template.png)
32+
<!-- convertborder later -->
33+
:::image type="content" source="./media/workbooks-automate/gallery-template.png" lightbox="./media/workbooks-automate/gallery-template.png" alt-text="Screenshot that shows the Gallery Template tab." border="false":::
3434

3535
1. Copy the JSON in the gallery template to the clipboard.
3636
1. The following sample ARM template deploys a workbook template to the Azure Monitor workbook gallery. Paste the JSON you copied in place of `<PASTE-COPIED-WORKBOOK_TEMPLATE_HERE>`. For a reference ARM template that creates a workbook template, see [this GitHub repository](https://github.com/microsoft/Application-Insights-Workbooks/blob/master/Documentation/ARM-template-for-creating-workbook-template).
@@ -117,8 +117,8 @@ Two types of workbook resources can be managed programmatically:
117117
1. Open the **Advanced Editor** by selecting **</>**.
118118
1. In the editor, switch **Template Type** to **ARM template**.
119119
1. The ARM template for creating shows up in the editor. Copy the content and use as-is or merge it with a larger template that also deploys the target resource.
120-
121-
![Screenshot that shows how to get the ARM template from within the workbook UI.](./media/workbooks-automate/programmatic-template.png)
120+
<!-- convertborder later -->
121+
:::image type="content" source="./media/workbooks-automate/programmatic-template.png" lightbox="./media/workbooks-automate/programmatic-template.png" alt-text="Screenshot that shows how to get the ARM template from within the workbook UI." border="false":::
122122

123123
## Sample ARM template
124124
This template shows how to deploy a workbook that displays `Hello World!`.

0 commit comments

Comments
 (0)