-
Notifications
You must be signed in to change notification settings - Fork 93
Add external payload transfer stats for workflow tasks #790
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -393,3 +393,24 @@ message OnConflictOptions { | |
| // Attaches the links to the running execution. | ||
| bool attach_links = 3; | ||
| } | ||
|
|
||
| // External payload transfer stats, broken down by storage driver. | ||
| message ExternalPayloadTransferStats { | ||
| repeated StorageDriverStats drivers = 1; | ||
|
|
||
| message StorageDriverStats { | ||
| // Storage driver these stats are for. Matches `StorageDriverInfo.type`. | ||
| string driver_type = 1; | ||
| // Accumulated upload stats. | ||
| TransferStats uploaded = 2; | ||
| // Accumulated download stats. | ||
| TransferStats downloaded = 3; | ||
| } | ||
|
|
||
| message TransferStats { | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do we want a latency/duration field for each driver type upload/download? Might not be for metrics, but maybe for Web UI?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For others: we discussed, and decided to add later when necessary |
||
| // Number of payloads transferred | ||
| int64 total_count = 1; | ||
| // Total size of payloads transferred in bytes | ||
| int64 total_size_bytes = 2; | ||
| } | ||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want latency/duration information for wall-clock upload/download? Might not be for metrics, but maybe for Web UI?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same ^^