Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(jans-lock): dashborad with network details and instances statistics #8385

Open
5 tasks
yurem opened this issue Apr 26, 2024 · 0 comments
Open
5 tasks
Assignees
Labels
kind-feature Issue or PR is a new feature request
Milestone

Comments

@yurem
Copy link
Contributor

yurem commented Apr 26, 2024

We need to add new panels to AdminUI to show details about Lock network topology, load, statistics, etc

Lock is lightweight application which works as proxy between other Jans applications and OPA. In generic deployment the number of nodes might be even greater than count of jans-auth instances. Also Lock might work with limited permissions to access DB tables to get only required data. All these conditions force to move statistic gathering part to another service which has less active nodes.

In proposed flow each Lock instance can request statistic from OPA and forward it to specific channel to PubSub server.
In order model the best candidate which can receive these messages is config-api. After getting message it can process it and store in DB to allow AdminUI to request it.

Here is list of issues needed to resolve close this task:

  1. feat(jans-lock): each Lock instance should send statistic periodically to specifc PubSub channel #8386
  2. feat(jans-config-api): add plugin to config-api to subscribe for messages #8387
  3. feat(jans-config-api): config-api should parse and store data in easy for requests execution format in DB #8388
  4. feat(admiUI): adminUi should request data from config-api to display for administrator #8390
  5. feat(jans-config-api): config-api should provide endpoints to access stats from DB #8389
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind-feature Issue or PR is a new feature request
Projects
None yet
Development

No branches or pull requests

5 participants