Add metric to measure successful policy YAML annotations
We have implemented policy YAML annotation in this issue: #497774 (closed)
To understand the usage and measure adoption, we should add an internal event metric to track successful policy YAML annotations.
Following the internal event instrumentation guide, we should:
- Define an internal event for successful policy YAML annotations
- Track the event when annotations are successfully applied
- Include relevant context such as:
security_orchestration_policy_configuration_idsecurity_policy_management_project_id-
operationtype user_id
This will provide better analytics and insights into policy YAML annotation usage compared to simple JSON logging.
Edited by Alan (Maciej) Paruszewski