Add metrics for workspace creation result and failure rate
MR - Add workspace creation event and metrics (!188226 - merged)
Description
In this issue, we will make below changes,
- Enable a new internal event for workspace creation. The event will also include data for succeed/failed, and failure reason
- Using Service Ping to create one metrics for workspace created successful (for timeframe 7 days, 28 days and all time)
- Using Service Ping to create one metrics for workspace created failed (for timeframe 7 days, 28 days and all time)
- Using Service Ping to group failed workspace by failure reasons
- Also make new metrics in Tableau for workspace failure rate for 7 days timeframe (Using above metrics data)
There is one existing legacy event for workspace creation, and some metrics created using this event. As discussed here, we would not re-user these event and metrics, for reasons below:
- The event is legacy one
- The event does not define proper arguments, like workspace succeed/failed, and failure reason
- The data collected from this event is at GraphQl layer, and we are now inserting to domain layer
- We would not need to retain previous data, and this would potentially pollute our current data
- Also introducing new events and service ping metrics are considered easy
These events and metrics would be removed once we properly rollout our metrics in the epic, Clean up legacy workspace event and metrics (#537538 - closed)
Acceptance criteria
-
Add new internal event for workspace creation -
Trigger the internal event at workspace creation domain -
Add one Service Ping metrics for workspace created successful total number -
Add one Service Ping metrics for workspace created failed total number -
Add one Service Ping metrics for workspace created failed number, group by failure reason -
Add a new metrics directly in tableau for workspace failure rate
Implementation plan
See description
Edited by 🤖 GitLab Bot 🤖