Skip to content

[Feature/SessionStats] Endpoint to fetch session data - #26

Open
Alathreon wants to merge 1 commit into
developfrom
feature/SessionsStats
Open

[Feature/SessionStats] Endpoint to fetch session data#26
Alathreon wants to merge 1 commit into
developfrom
feature/SessionsStats

Conversation

@Alathreon

@AlathreonAlathreon commented May 21, 2024

Copy link
Copy Markdown
Contributor

Pull-request

Changes

  • Existing code
  • New feature

Closes Issue: NaN

Description

Add an endpoint to fetch the stats of the current sessions.
Exemple:

curl --request GET \
--url http://localhost:8080/jshell/sessions
[
{
"id": "test",
"timeSinceCreation": 17,
"timeUntilExpiration": 1782,
"totalEvalTime": 15,
"doingOperation": false
},
{
"id": "135178a3-e54f-4bc8-bbe1-2e626b4de50b",
"timeSinceCreation": 12,
"timeUntilExpiration": 14,
"totalEvalTime": 2,
"doingOperation": false
}
]

@Alathreon
Alathreon requested review from a team as code ownersMay 21, 2024 17:57
@AlathreonAlathreon changed the title [Feature/SessionStats] Endpoint pour récupérer les stats des sessions[Feature/SessionStats] Endpoint to fetch session dataMay 21, 2024
@Alathreon
Alathreonforce-pushed the feature/SessionsStats branch from b8d540e to 497f7dcCompareMay 21, 2024 19:28
tj-wazei
tj-wazei previously approved these changes Aug 1, 2024
@Alathreon
Alathreonforce-pushed the feature/SessionsStats branch from 497f7dc to b0b959aCompareAugust 1, 2024 20:07
@AlathreonAlathreon added the enhancement New feature or request label Aug 1, 2024
@AlathreonAlathreon linked an issue Aug 1, 2024 that may be closed by this pull request
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancementNew feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Endpoint to easily check the sessions.

2 participants

@Alathreon@tj-wazei