Skip to content

Commit ba18df4

Browse files
authored
Merge pull request #252719 from vikramrajumsft/main
Target selection concept doc
2 parents 4545f26 + 9b43515 commit ba18df4

File tree

4 files changed

+35
-0
lines changed

4 files changed

+35
-0
lines changed

articles/chaos-studio/TOC.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@
3838
href: chaos-studio-faults-actions.md
3939
- name: Targets and capabilities
4040
href: chaos-studio-targets-capabilities.md
41+
- name: Target selection
42+
href: chaos-studio-target-selection.md
4143
- name: Permissions and security
4244
href: chaos-studio-permissions-security.md
4345
- name: Private networking
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
title: Target selection in Azure Chaos Studio Preview
3+
description: Understand two different ways to select experiment targets in Azure Chaos Studio Preview.
4+
author: prasha-microsoft
5+
ms.author: prashabora
6+
ms.service: chaos-studio
7+
ms.topic: conceptual
8+
ms.date: 09/25/2023
9+
ms.custom: template-concept, ignite-fall-2021, devx-track-arm-template
10+
---
11+
12+
# Target selection in Azure Chaos Studio Preview
13+
14+
Every chaos experiment is made up of a different combination of faults and targets, building up to a unique outage scenario to test your system's resilience against. You may want to select a fixed set of targets for your chaos experiment, or provide a rule in which all matching fault-onboarded resources are included as targets in your experiment. Chaos Studio enables you to do both by providing both manual and query-based target selection.
15+
16+
## List-based manual target selection
17+
18+
List-based manual target selection allows you to select a fixed set of onboarded targets for a particular fault in your chaos experiment. Depending on the selected fault, you may select one or more onboarded resources to target. The aforementioned resources are added to the experiment upon creation time. In order to modify the list, you must navigate to the experiment's page and add or remove fault targets manually. An example of manual target selection is shown below.
19+
20+
[ ![Screenshot that shows the list-based manual target selection option in the Azure portal.](images/manual-target-selection.png) ](images/manual-target-selection.png#lightbox)
21+
22+
## Query-based dynamic target selection
23+
24+
Query-based dynamic target selection allows you to input a KQL query that will select all onboarded targets that match the query result set. Using your query, you may filter targets based on common Azure resource parameters including type, region, name, and more. Upon experiment creation time, only the query itself will be added to your chaos experiment.
25+
26+
The inputted query will run and add onboarded targets that match its result set upon experiment execution time. Thus, any resources onboarded to Chaos Studio after experiment creation time that match the query result set upon experiment execution time will be targeted by your experiment. You may preview your query's result set when adding it to your experiment, but be aware that it may not match the result set at experiment execution time. An example of a possible dynamic target query is shown below.
27+
28+
[ ![Screenshot that shows the query-based dynamic target selection option in the Azure portal.](images/dynamic-target-selection-preview.png) ](images/dynamic-target-selection-preview.png#lightbox)
29+
30+
## Next steps
31+
Now that you understand both ways to select targets within a chaos experiment, you're ready to:
32+
33+
- [Create and run your first experiment](chaos-studio-tutorial-service-direct-portal.md)
237 KB
Loading
243 KB
Loading

0 commit comments

Comments
 (0)