Skip to content

Commit

Permalink
update idl
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Su <[email protected]>
  • Loading branch information
pingsutw committed Jan 8, 2024
1 parent 77d7530 commit fbb619b
Show file tree
Hide file tree
Showing 9 changed files with 46 additions and 14 deletions.
1 change: 1 addition & 0 deletions flyteidl/gen/pb-go/flyteidl/admin/agent.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion flyteidl/gen/pb-go/flyteidl/core/metrics.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions flyteidl/gen/pb-go/flyteidl/service/agent.swagger.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions flyteidl/gen/pb-java/flyteidl/admin/AgentOuterClass.java

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 17 additions & 9 deletions flyteidl/gen/pb-java/flyteidl/core/Metrics.java

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions flyteidl/gen/pb_rust/flyteidl.admin.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion flyteidl/gen/pb_rust/flyteidl.core.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions flyteidl/protos/flyteidl/admin/agent.proto
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ message GetTaskMetricsRequest {
// Metadata is created by the agent. It could be a string (jobId) or a dict (more complex metadata).
bytes resource_meta = 2;
// The metrics to query. If empty, will return a default set of metrics.
// e.g. EXECUTION_METRIC_USED_CPU_AVG or EXECUTION_METRIC_USED_MEMORY_BYTES_AVG
repeated string queries = 3;
// Start timestamp, inclusive.
google.protobuf.Timestamp start_time = 4;
Expand Down
3 changes: 2 additions & 1 deletion flyteidl/protos/flyteidl/core/metrics.proto
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,9 @@ message Span {
repeated Span spans = 7;
}

// ExecutionMetrics is a collection of metrics that are collected during the execution of a Flyte task.
message ExecutionMetricResult {
// The metric this data represents
// The metric this data represents. e.g. EXECUTION_METRIC_USED_CPU_AVG or EXECUTION_METRIC_USED_MEMORY_BYTES_AVG.
string metric = 1;

// The result data in prometheus range query result format
Expand Down

0 comments on commit fbb619b

Please sign in to comment.