Approaches to Performance Analytics with domain separation
Summarize
Summary of Approaches to Performance Analytics with domain separation
This guide explains three approaches to using Performance Analytics within a domain-separated ServiceNow environment: the global approach, domain-specific approach, and hybrid approach. Domain separation allows customers to collect and manage Performance Analytics data scoped to specific security domains, ensuring users see data only for domains they have access to.
Show less
Global Approach and Domain-Specific Scores
- All Performance Analytics records (indicators, breakdowns, widgets) reside in the Global domain.
- Domain separation is applied via domain-specific data collection jobs, configured by assigning a Run as user which sets the domain context for data collection.
- Data collection jobs can use domain configurations to manage complex domain grouping and roll-ups.
- Scores are stored in the domain where data was collected; users only see scores for domains they can access.
- paadmin users within a domain can modify jobs for their domain; global paadmin users can modify any job.
- This approach is the default for Platform Analytics Solutions and requires domain configurations for advanced grouping scenarios.
Domain-Specific Approach
- Performance Analytics records are created and managed separately within each domain.
- Users with the paadmin role in a domain can create and edit records only in their domain; child domain users can read but not edit parent domain records.
- To use a record in a domain, a domain-specific copy must be created (e.g., indicator, indicator source).
- Copying records with related breakdowns and exclusions is streamlined via the "Insert and Stay with Relations" UI action.
- Data collection jobs must be created per domain with domain-specific indicators.
- Domain users cannot modify global Performance Analytics properties starting with com.snc.pa; only global admins or paadmin roles can.
Hybrid Approach
- This advanced option combines global and domain-specific approaches.
- Reusable foundational records, such as bucket groups, buckets, scripts, indicator sources, filters, and breakdown sources, are maintained in the global or parent domain.
- Domain administrators create and manage domain-specific higher-level records like indicators and widgets within their domains.
- Recommended only after successful implementation of either global or domain-specific approaches.
Copying Performance Analytics Records Between Domains
Administrators can reuse and move Performance Analytics records across domains using the PADomainUtils API, facilitating record management in domain-separated environments.
When using Performance Analytics with domain separation, you can collect domain-specific scores. You can use global or domain-specific Performance Analytics table records or even a combination of both.
Global approach and collecting domain-specific scores
You can keep all Performance Analytics records, such as indicators, breakdowns, and widgets, in the Global domain. In this case, you apply domain separation through domain-specific data collection jobs.
To configure a data collection job to be domain-specific, add a Run as user to the job. The Run as user determines the domain context of where the data collection job runs. For more information, see Create or schedule a data collection job.
You can also specify a domain configuration. Domain configurations are part of the Performance Analytics plugin for domain support, intended to help with complex domain management. For more information, see Associate a domain configuration with a data collection job.
The data collection job collects scores against facts table records in the Global domain. The job also collects scores against records in the domains of the Run as user. The job stores the scores in the domain it collected them from. In data visualizations, a user sees only scores from domains they have visibility into.
If you specify only a Run as user, scores from all child domains are rolled up to the parent. If you also specify a domain configuration, more options are available. For more information about options for collecting and rolling up child domain scores, see Grouping domains in Performance Analytics domain configurations.
Only users with the pa_admin role who are members of one of the domains that the job collects scores for can modify domain-separated data collection jobs. Global users with pa_admin can modify any job.
By default, Platform Analytics Solutions use the global approach.
Domain-specific approach
By using domain-specific Performance Analytics records, you can grant the pa_admin role to domain users to create their own domain-specific components. Users, including administrators, can create and edit Performance Analytics records only within their domain. Users in child domains can read but not edit Performance Analytics records in a parent domain.
You must create a domain-specific copy of a Performance Analytics record to use it in that domain. For example, to add a domain-specific condition to an indicator source, you must create a copy of the indicator and indicator source in that domain.
You can quickly copy an indicator or breakdown and related data from a different domain. Use the Insert and Stay with Relations UI action on the Indicator or Breakdown forms. Any breakdowns, breakdown exclusions, or time series exclusion relationships are also copied. Any associated scheduled jobs are copied only if the Run as user for that job is the current user.
To collect scores, create a new data collector job associated with the domain-specific indicators.
com.snc.pa. Only users with the admin or pa_admin roles in the global
domain can see or set these properties.Hybrid approach
A hybrid approach keeps reusable, foundational Performance Analytics records such as indicator sources within the global domain or a parent domain. At the same time, administrators in other domains create domain-specific higher-level Performance Analytics records such as indicators and widgets.
- Bucket groups
- Buckets
- Scripts
- Breakdown sources
- Indicator sources
- Filters
- Breakdowns
- Managed sources
- Manual breakdowns
- Breakdown mappings
- Breakdown relations
Copying Performance Analytics records between domains
You can reuse Performance Analytics records in multiple domains. The PADomainUtils API provides functionality that enables administrators to move or copy Performance Analytics records between domains.