The ci_unique_id attribute is only populated when an APM Alert is configured with Combination set to "Any".
When Combination is set to "All", the alert engine aggregates all matching metrics/agents into a single event without preserving individual CI context. As a result, ci_unique_id is not generated.
When Combination is set to "Any", the alert triggers individually for each matching metric, preserving the CI context required to populate ci_unique_id.
Note: The absence of ci_unique_id may also be expected in the following scenarios, regardless of the Combination setting:
- The monitored entity does not exist as a CI in the AIOps topology
- The alarm is related to monitoring agent/infrastructure health (not a business CI)
- The alarm source is not integrated with topology discovery
- Custom metrics (:custom) that do not include standard Kubernetes labels