Skip to main content
Version: 1.3

Weight policies

Route: /service-topology ( Weight Policies tab )

Weight policies match alerts using the same style of Filters as other management modules and assign a numeric weight stored on the alert (in attributes). Enabled policies help drive KPI calculations and topology weighting without manual edits per alert. A policy can optionally be tied to one topology.

See also: Overview · Topologies

Table columns​

ColumnDescription
NamePolicy name; click to edit
DescriptionPolicy summary
StatusToggle active / inactive per row
ActionsEdit, Delete (when permitted)

Search by name and use the TQL ON / TQL OFF tag for advanced filtering — see TQL search and filters.

Weight Policies tab

Create a weight policy​

  1. Open Management → Service Topology.
  2. Select the Weight Policies tab.
  3. Click Create service topology policy.
  4. Enter Name and Description (required).
  5. Set Weight to set (0–100).
  6. Define at least one clause in Filters (query builder).
  7. Click Save.

Create service topology policy drawer

Form fields​

FieldRequiredDescription
NameYesIdentifier in the table
DescriptionYesWhat the policy does
Weight to setYesNumeric weight applied to matching alerts (0–100)
FiltersYesAlert field conditions (AND groups); empty filters cannot be saved
TopologyNoThe topology this policy belongs to (topologyId in the API). Leave it empty for a policy that is not tied to a topology. The policy list can be filtered by topology (?topologyId=… in the API)

Edit, enable, disable, delete​

ActionHow
EditClick Name or Description, double-click row, bulk Edit service topology policy, or edit icon
Enable / DisableStatus switch on the row, or bulk Enable service topology policy / Disable service topology policy
DeleteBulk or row Delete — confirmation required

Policies must have valid Filters JSON when saved; invalid filter data shows an error when opening the drawer.

How weights are used​

When an alert is received, ToBeAlert evaluates the active policies in creation order (oldest first). The first policy whose Filters match sets the alert's weight attribute to its Weight to set, and no other policy is evaluated for that alert. An alert that already arrives with a weight attribute from the monitoring system keeps it: policies never overwrite an incoming weight. The alert history records the policy that set the weight.

Because only the first match counts, the order of creation matters when filters overlap: create the most specific policy first, or keep filters disjoint. Earlier releases applied the last policy in the list even when its filters did not match; this is fixed in this release, so check existing policies whose filters overlap.

The weight integrates with Service KPI time-based calculations and topology visualization that respect alert weight. Use lower or higher weights consistently across policies so operators can reason about relative impact.

Best practices​

  1. Name policies by intent — e.g. production-critical-weight.
  2. Keep filters narrow — environment, service, severity, or resource clauses reduce surprises.
  3. Disable before delete when testing — toggle inactive instead of removing policies you may need again.
  4. Align weights with KPI severity weights so dashboard uptime and topology coloring tell the same story.
  5. Document weight scale in your runbook (what 0 vs 100 means for your organization).