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(dgw): return disk space available for recordings #827

Merged
merged 1 commit into from
Apr 26, 2024
Merged

Conversation

CBenoit
Copy link
Member

@CBenoit CBenoit commented Apr 26, 2024

The total and available space used for storing recordings is now returned in the heartbeat response.

If the system does not support this operation, the fields are excluded from the response.

Issue: DGW-100

Example using curl

$ curl -H "Accept: application/json" -H "Authorization: Bearer $(./tools/tokengen/target/release/tokengen --provisioner-key ./config/provisioner.priv.key scope gateway.heartbeat.read)" http://127.0.0.1:7171/jet/heartbeat

{"id":"aa0b2a02-bbbb-aaaa-bbbb-03c6391b86fb","hostname":"localhost","version":"2024.1.5","running_session_count":0,"recording_storage_total_space":737616650240,"recording_storage_available_space":199578578944}

The total and available space used for storing recordings is now
returned in the heartbeat response.

If the system does not support this operation, the fields are
excluded from the response.

Issue: DGW-100
@CBenoit CBenoit requested a review from a team April 26, 2024 03:20
@CBenoit CBenoit enabled auto-merge (squash) April 26, 2024 03:20
@CBenoit CBenoit merged commit c0776d4 into master Apr 26, 2024
20 checks passed
@CBenoit CBenoit deleted the DGW-100 branch April 26, 2024 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants