DSD-DBS / capella-collab-manager

A web app for collaboration on Capella (MBSE) projects
https://dsd-dbs.github.io/capella-collab-manager/
Apache License 2.0
22 stars 5 forks source link

Replace "last seen" in overview #88

Closed MoritzWeber0 closed 2 years ago

MoritzWeber0 commented 2 years ago

A container exposes the inactivity time via an OpenMetrics endpoint: https://github.com/DSD-DBS/capella-dockerimages/issues/16 In the "Overview" component of the frontend we offer a column "Last seen". It should contain the activity information of a session.

Option 1) We can include a Prometheus server into the application and call the the REST API of Prometheus to get the endpoint: https://prometheus.io/docs/prometheus/latest/querying/api/#instant-queries

Option 2) Send a http call to the metrics endpoint of the container directly and handle the response.

MoritzWeber0 commented 2 years ago

Related to #85