Skip to content

Commit eafeca5

Browse files
authored
Merge pull request #228772 from srijan55/master
Add details about multiple-splitting feature in the documents.
2 parents 6cf4192 + 4e64f2f commit eafeca5

File tree

5 files changed

+18
-7
lines changed

5 files changed

+18
-7
lines changed
2.06 KB
Loading
214 KB
Loading
54.5 KB
Loading

articles/azure-monitor/essentials/metric-chart-samples.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,17 @@ Your storage account resource is experiencing an excess volume of failed transac
4545

4646
In the metric picker, select your storage account and the **Transactions** metric. Switch chart type to **Bar chart**. Click **Apply splitting** and select dimension **API name**. Then click on the **Add filter** and pick the **API name** dimension once again. In the filter dialog, select the APIs that you want to plot on the chart.
4747

48+
## Total requests of Cosmos DB by Database Names and Collection Names
49+
50+
You want to identify which collection in which database of your Cosmos DB instance is having maximum requests to adjust your costs for Cosmos DB.
51+
52+
![Segmented line chart of Total Requests](./media/metrics-charts/multiple-split-example.png)
53+
54+
### How to configure this chart?
55+
56+
In the metric picker, select your Cosmos DB resource and the **Total Requests** metric. Click **Apply splitting** and select dimensions **DatabaseName** and **CollectionName**.
57+
4858
## Next steps
4959

5060
* Learn about Azure Monitor [Workbooks](../visualize/workbooks-overview.md)
51-
* Learn more about [Metric Explorer](metrics-charts.md)
61+
* Learn more about [Metric Explorer](metrics-charts.md)

articles/azure-monitor/essentials/metrics-charts.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -172,11 +172,8 @@ You can split a metric by dimension to visualize how different segments of the m
172172
### Apply splitting
173173

174174
1. Above the chart, select **Apply splitting**.
175-
176-
> [!NOTE]
177-
> Charts that have multiple metrics can't use the splitting functionality. Also, although a chart can have multiple filters, it can have only one splitting dimension.
178-
179-
1. Choose a dimension on which to segment your chart:
175+
176+
1. Choose dimension(s) on which to segment your chart:
180177

181178
![Screenshot that shows the selected dimension on which to segment the chart.](./media/metrics-charts/031.png)
182179

@@ -192,7 +189,11 @@ You can split a metric by dimension to visualize how different segments of the m
192189

193190
![Screenshot that shows sort order on split values.](./media/metrics-charts/segment-dimension-sort.png)
194191

195-
1. Click away from the grouping selector to close it.
192+
1. If you like to segment by multiple segments select multiple dimensions from the values dropdown. The legends will show a comma-separated list of dimension values for each segment
193+
194+
![Screenshot that shows multiple segments selected, and the corresponding chart below.](./media/metrics-charts/segment-dimension-multiple.png)
195+
196+
3. Click away from the grouping selector to close it.
196197

197198
> [!NOTE]
198199
> To hide segments that are irrelevant for your scenario and to make your charts easier to read, use both filtering and splitting on the same dimension.

0 commit comments

Comments
 (0)