Real-Dev-Squad / todo-action-items

A running list of todo items for Real Dev Squad site
MIT License
4 stars 8 forks source link

[PRD] For creating features on Logs generated #186

Open vikhyat187 opened 1 year ago

vikhyat187 commented 1 year ago

Problem

  1. Currently we don't have provision to query the logs which are generated on different actions like CLOUDFLARE_CACHE_PURGED, PROFILE_DIFF_APPROVED, PROFILE_DIFF_REJECTED, extensionRequests, task,archive-details.
    1. So if we are able to query the logs generated, we can identify who has performed a certain action.
    2. Eg we can fetch the logs related to extension requests for a user.
    3. With this logs we can understand, what were the events which happened.

Objective

  1. To create APIs to access the different logs.

Personas

  1. Super user or admin

Use cases

  1. Super user / admin, will be able to fetch all the logs of a given user or type of logs and understand the sequence of events happened.

Features in

  1. Changes will come in website-backend to create APIs for fetching the logs and these APIs will be accessed in the other sites.

Success metrics

  1. This API should provide easy access to logs for debugging, monitoring and analysis.

One of the API is being developed by @Maheima, ticket - #185