udaan-com/snorql

[New-Metric] Session related metrics

Closed this issue · 2 comments

Metric name

  1. Session Locks Metric
  2. Session Active Query Metric
  3. Session Latest Executed Query

Metric description

  1. Session Locks Metric: Gives us a list of active locks in a session by the session id in context.
  2. Session Active Query Metric: Gives us the query being executed by the session in context.
  3. Session Latest Executed Query: Gives us the last query executed by the session in context

Additional details for the metric

To debug a session, it is extremely helpful to view session-level metrics. This will enable a user to dive deeper into blocked/problem-causing sessions.

PR opened for this issue: #81

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.