Skip to content

Conversation

DawidWesierski4
Copy link
Collaborator

Add unified api to retrive the sessions stats,
for both the legacy and pipeline sessions.

@DawidWesierski4 DawidWesierski4 force-pushed the logging_api_unification branch 10 times, most recently from b1fd994 to e613df4 Compare August 11, 2025 12:16
@DawidWesierski4 DawidWesierski4 marked this pull request as ready for review August 11, 2025 12:17
@DawidWesierski4 DawidWesierski4 force-pushed the logging_api_unification branch 3 times, most recently from 2ce93f4 to a7a57d5 Compare August 11, 2025 12:53
Add unified api to retrive the sessions stats,
for both the legacy and pipeline sessions.

This could be made much more elegantly with a union
but for the sake of unifying the approach i decided
to add all this boilerplate,

3.6 times more code, not great not terrible
@Sakoram
Copy link
Collaborator

Sakoram commented Aug 11, 2025

What do you thing about creating one common structure with common stat values like stat_epoch_drop and including this struct as field in specific structures for stX0? I hate code repetition

@DawidWesierski4 DawidWesierski4 force-pushed the logging_api_unification branch 2 times, most recently from 8c53850 to 43bd78a Compare August 13, 2025 07:27
@DawidWesierski4 DawidWesierski4 force-pushed the logging_api_unification branch 2 times, most recently from c721248 to 04fb96a Compare August 14, 2025 13:33
@DawidWesierski4 DawidWesierski4 merged commit 274025a into OpenVisualCloud:main Aug 18, 2025
18 of 21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants