Feature/alerting business metrics - #2775
Conversation
PR Code Analyzer ❗AI-powered 'Code-Diff-Analyzer' found issues on commit b7ce6fe.
The table above displays the top 10 most important findings. Pull Requests Author(s): Please update your Pull Request according to the report above. Repository Maintainer(s): You can Thanks. |
Add alerting_telemetry.ts helper module using OSD core TelemetryService (Neo browser telemetry) to emit custom events for business metrics. P0 events instrumented: - alerting.rule.created: after successful monitor/rule creation - alerting.alert.acknowledged: after successful alert acknowledge - alerting.slo.created: after successful SLO creation - alerting.wizard.started: when create wizard opens - alerting.wizard.completed: when wizard submission succeeds (with duration) P1 event stubs included for future sprints: - alerting.rule.deleted, alerting.rule.edited - alerting.slo.toggled, alerting.silence.created - alerting.wizard.abandoned, alerting.detail.opened - alerting.deeplink.from_mcp Wired into: - alarms_page.tsx: rule creation, acknowledge, wizard open - slo_wizard_page.tsx: SLO creation Signed-off-by: Riya Saxena <riysaxen@amazon.com>
Tests verify: - Each P0 event emits correct name + payload via recordEvent - No-op when telemetry is disabled - No-op when core is not initialized - No throw when telemetry service errors internally Signed-off-by: Riya Saxena <riysaxen@amazon.com>
PR Reviewer Guide 🔍(Review updated until commit f047753)Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Latest suggestions up to f047753
Previous suggestionsSuggestions up to commit b7ce6fe
|
b7ce6fe to
f047753
Compare
|
Persistent review updated to latest commit f047753 |
Add alerting_telemetry.ts helper module using OSD core TelemetryService (Neo browser telemetry) to emit custom events for business metrics.
P0 events instrumented:
P1 event stubs included for future:
Wired into:
Description
[Describe what this change achieves]
Issues Resolved
[List any issues this PR will resolve]
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.