OpenNyAI / Jugalbandi-Manager

Jugalbandi (JB) Manager is a full AI-powered conversational chatbot platform. It's platform agnostic and can serve multiple channels such as WhatsApp or custom web interfaces. It can handle conversations in both text and voice across any language. It comes with Bhashini Speech models out of the box and can failover to Azure.
https://docs.jugalbandi.opennyai.org/
Apache License 2.0
23 stars 30 forks source link

Issue: Logging dashboard #179

Open Lekhanrao opened 3 months ago

Lekhanrao commented 3 months ago

Ticket Contents

To build a dashboard that shows every process of the request lifecycle with corresponding timestamps and usage of models with metrics.

Goals

Create a dashboard (Grafana/any custom simple react UI) which shows the whole lifecycle of a request coming into the system with metrics such as number of requests, latency, types of models at each service layer with appropriate timestamps.

Expected Outcome

The dashboard should be able to show different kinds of metrics at each service layer (api, channel, language, flow, retriever) for a given request.

Acceptance Criteria

  1. The dashboard should be running as a separate service (like the other services in docker-compose.yaml)
  2. The dashboard should be able to collect and show the data from each individual service.
  3. The dashboard should have appropriate charts for data visualization of the requests coming into the system.

Implementation Details

Create a frontend UI dashboard and backend data storage service and map them to show the metrics in user/request level.

Mockups/Wireframes

Use R2R dashboard for reference implementation (https://github.com/SciPhi-AI/R2R-Application)

Product Name

Jugalbandi

Organisation Name

OpenNyAI

Domain

Legal

Tech Skills Needed

Python, React, SQL, Other

Mentor(s)

@Lekhanrao , @KaranrajM

Complexity

Medium

Category

Backend, Frontend

Blacksujit commented 2 months ago

@Lekhanrao assigne this to me i can try this

Lekhanrao commented 2 months ago

@Blacksujit, Have assigned this ticket to you.

Amrit02102004 commented 1 month ago

@Blacksujit Are you still working on this ? I would like to know if I can work on it

Blacksujit commented 1 month ago

@Amrit02102004

Sorry i was busy in some other things please take it you can work on this

Amrit02102004 commented 1 month ago

Ok I will be working on it

Lekhanrao commented 1 month ago

@Amrit02102004 , assigned ticket to you.

Lekhanrao commented 1 month ago

Assigned ticket to @ananyaagrawal23 and @Sunandhita

MythicalMAxX commented 1 month ago

Hey! Can I please get a chance?

Lekhanrao commented 1 month ago

@MythicalMAxX , Hi Vinamra, Thankyou for offering to work on this issue, but this ticket is already being worked by the team. So will request you to pick up something else that is open.

Sunandhita commented 1 month ago

The Logger service implementation in the backend is done . API service data is getting logged in the database successfully. Currently working on implementation for logging the Channel service data

ananyaagrawal23 commented 4 weeks ago

Completed the implementation for the logging of channel service. Channel service data is getting logged in the database successfully. Currently working on implementation for logging the Language service.

Sunandhita commented 1 week ago

Completed the implementation for logging language and flow service. Currently working on implementation for logging the retriever service (last service to be logged).

Sunandhita commented 1 week ago

Completed the entire backend for logging dashboard