regional_analysts_us
or regional_analysts_ca
.global_viewers
.thirdeye_admin
.^[a-z0-9-_]+$
.
We set the namespace of alerts and its enumeration items in the alert configuration. Anomalies and investigations are automatically assigned to the namespace of the alert or enumeration item it is assigned to. Resources that do not have a configured namespace are placed in the default
namespace.
In this recipe, we’ll create 3 namespaces:
thirdeye_dx_alerts
- This will contain the dimension exploration alerts.regional_analysts_us
- This will contain the US dimension and all related investigations and anomalies.regional_analysts_ca
- This will contain the CA dimension and all related investigations and anomalies.default
namespace.
create namespace
tool.
create policy
tool.
thirdeye_dx_alerts
namespace. When we create an alert, we must also assign it to the thirdeye_dx_alerts
namespace so all users can see it.
thirdeye-dx-alerts
namespace. We’ll then add a policy to allow our regional analysts read access to all entities in their namespace.
startree-threshold-dx
template and the pageviews
demo dataset. The alert has two enumeration items: one for data from the US and one for data from Canada. The alert itself is created in the thirdeye_dx_alerts
namespace that anyone can read, and the enumeration items are created in their region-specific namespace.
Check that the dataSource
and dataset
template properties match the names for your instances.
Paste this alert body in ThirdEye’s Create Alert
JSON editor: