Add missing information in rule based membership document (#19423)
Co-authored-by: fotis <fotis@netdata.cloud> Co-authored-by: ilyam8 <ilya@netdata.cloud>
Juan Cañete committed
Jan 21, 2025 at 09:37 UTC
b0baedab915242cd53499731d4dd8390e9c60d50
1 file changed
+19
-3
docs/netdata-cloud/node-rule-based-room-assignment.md
+19
-3
@@ -39,11 +39,23 @@ Clauses:
39
Value: database
40
```
41
42
+### Comparison Operators
43
+
44
+The following operators can be used to compare label values:
45
+
46
+| Operator | Description |
47
+|:------------|:----------------------------------------------------|
48
+| equals | Matches the exact value |
49
+| starts_with | Matches if the value begins with the specified text |
50
+| ends_with | Matches if the value ends with the specified text |
51
+| contains | Matches if the text appears anywhere in the value |
52
+
53
## Rule Evaluation Order
54
44
-- Inclusion rules are checked first
45
-- Exclusion rules are checked second
46
- If both match, exclusion wins
55
+- Exclusion rules are evaluated first
56
+- Inclusion rules are evaluated second
57
+
58
+In cases where both an inclusion and exclusion rule match, the exclusion rule takes precedence.
59
60
## Creating Rules
61
@@ -67,3 +79,7 @@ Nodes can have multiple membership types in a Room:
79
| STATIC and RULE | Both manual and Rule-based |
80
81
You can view each Node's membership status in the Room's Nodes table under the "Membership" column.
82
+
83
+> **Note**
84
+>
85
+> Group membership can be either STATIC or RULE—these work independently. A node can belong to groups through STATIC assignments (added manually) or through RULE assignments (matched automatically). RULEs cannot override STATIC memberships, and removing a node's STATIC membership does not affect its RULE memberships.