Example definitions for service families in tag-based mapping
When preparing to map application services based on tags, create tag categories that contain tags with similar use. Define a tag-based service family and the tags you want to use for mapping. In addition to tag categories, you can also define tag values to narrow the criteria for the service candidates created by Service Mapping. Use these examples for guidance.
For detailed information about defining service families in tag-based mapping, see Prepare for mapping application services based on tags.
| Definitions for service family | Category | Key | Value (optional) | Result |
|---|---|---|---|---|
| Example 1: one tag category, no values | Environment | Env | Not defined | Service Mapping creates a service candidate for each tag value for the Env key. Each service candidate contains only CIs with the same value for the Env key. |
| Example 2: one tag category, one value | Environment | Env | Production | Service Mapping creates the service candidate containing only CIs that have the Env tag key with the Production tag value. |
| Example 3: one tag category, two values | Environment | Env | Staging,Production | Service Mapping creates two service candidates: One containing CIs that have the Production tag value; another containing CIs that have the Staging tag value. |
| Example 4: two tag categories, no values | Environment Application |
Env App |
Not defined | Service Mapping creates a service candidate for each combination of tag values for all defined tag keys. |
| Example 5: two tag categories, two values for each category | Environment Application |
Env App |
Production,Staging HR,Finance |
Service Mapping creates four service candidates: production::hr, production::finance, staging::hr, staging::finance. |