SigNoz / signoz

SigNoz is an open-source observability platform native to OpenTelemetry with logs, traces and metrics in a single application. An open-source alternative to DataDog, NewRelic, etc. 🔥 🖥. 👉 Open source Application Performance Monitoring (APM) & Observability tool
https://signoz.io
Other
19.51k stars 1.32k forks source link

chore: add log events to alert history page #6396

Closed ahmadshaheer closed 1 week ago

ahmadshaheer commented 3 weeks ago

Summary

Add events to the alerts history page

Related Issues / PR's

Part of https://github.com/SigNoz/engineering-pod/issues/1952

Screenshots

NA

Affected Areas and Manually Tested Areas


[!IMPORTANT] Add logging for user interactions on the alert history page, including tab changes and row clicks, using logEvent.

  • Logging:
    • Add logEvent calls in TopContributorsRows.tsx for row clicks to log labels.
    • Add logEvent calls in Table.tsx for timeline table row clicks to log ruleId and labels.
    • Add logEvent in AlertDetails.tsx to log when the Alert History tab is visited.
  • Function Signature Changes:
    • Change onChangeHandler signature in RouteTabProps to accept a string key instead of VoidFunction.
    • Update onChangeHandler usage in index.tsx to pass activeRoute.
  • Misc:
    • Add handleRowClick function in TopContributorsRows.tsx and Table.tsx to handle row click events.

This description was created by Ellipsis for 554a866604428dcdcc79c0705873907e3e794a78. It will automatically update as commits are pushed.

github-actions[bot] commented 3 weeks ago

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #

github-actions[bot] commented 3 weeks ago

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #