Skip to content

Commit

Permalink
feat(run): pipeline/model runs and metrics APIs (#265)
Browse files Browse the repository at this point in the history
Because

- dashboard needs new APIs for model/pipeline runs and metrics

This commit

- add pipeline/model runs and metrics APIs
  • Loading branch information
joremysh authored Nov 5, 2024
1 parent 645e14a commit c5f1a8d
Showing 1 changed file with 77 additions and 0 deletions.
77 changes: 77 additions & 0 deletions config/settings-env/endpoints.json
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,29 @@
"aggregationWindow",
"filter"
]
},
{
"endpoint": "/v1beta/model-runs/count",
"url_pattern": "/v1beta/model-runs/count",
"method": "GET",
"timeout": "30s",
"input_query_strings": [
"requesterId",
"start",
"stop"
]
},
{
"endpoint": "/v1beta/model-runs/query-charts",
"url_pattern": "/v1beta/model-runs/query-charts",
"method": "GET",
"timeout": "30s",
"input_query_strings": [
"requesterId",
"aggregationWindow",
"start",
"stop"
]
}
],
"no_auth": [
Expand Down Expand Up @@ -438,6 +461,18 @@
"url_pattern": "/core.mgmt.v1beta.MgmtPublicService/ListPipelineTriggerChartRecords",
"method": "POST",
"timeout": "30s"
},
{
"endpoint": "/core.mgmt.v1beta.MgmtPublicService/GetModelTriggerCount",
"url_pattern": "/core.mgmt.v1beta.MgmtPublicService/GetModelTriggerCount",
"method": "POST",
"timeout": "30s"
},
{
"endpoint": "/core.mgmt.v1beta.MgmtPublicService/ListModelTriggerChartRecords",
"url_pattern": "/core.mgmt.v1beta.MgmtPublicService/ListModelTriggerChartRecords",
"method": "POST",
"timeout": "30s"
}
],
"grpc_no_auth": [
Expand Down Expand Up @@ -1234,6 +1269,21 @@
"orderBy"
]
},
{
"endpoint": "/v1beta/dashboard/pipelines/runs",
"url_pattern": "/v1beta/dashboard/pipelines/runs",
"method": "GET",
"timeout": "30s",
"input_query_strings": [
"pageSize",
"page",
"filter",
"orderBy",
"start",
"stop",
"requesterId"
]
},
{
"endpoint": "/v1beta/integrations",
"url_pattern": "/v1beta/integrations",
Expand Down Expand Up @@ -1968,6 +2018,12 @@
"url_pattern": "/vdp.pipeline.v1beta.PipelinePublicService/ListComponentRuns",
"method": "POST",
"timeout": "30s"
},
{
"endpoint": "/vdp.pipeline.v1beta.PipelinePublicService/ListPipelineRunsByRequester",
"url_pattern": "/vdp.pipeline.v1beta.PipelinePublicService/ListPipelineRunsByRequester",
"method": "POST",
"timeout": "30s"
}
],
"grpc_no_auth": [
Expand Down Expand Up @@ -2149,6 +2205,21 @@
"orderBy"
]
},
{
"endpoint": "/v1alpha/dashboard/models/runs",
"url_pattern": "/v1alpha/dashboard/models/runs",
"method": "GET",
"timeout": "30s",
"input_query_strings": [
"pageSize",
"page",
"filter",
"orderBy",
"start",
"stop",
"requesterId"
]
},
{
"endpoint": "/v1alpha/users/{user_id}/models",
"url_pattern": "/v1alpha/users/{user_id}/models",
Expand Down Expand Up @@ -2841,6 +2912,12 @@
"url_pattern": "/model.model.v1alpha.ModelPublicService/ListModelRuns",
"method": "POST",
"timeout": "30s"
},
{
"endpoint": "/model.model.v1alpha.ModelPublicService/ListModelRunsByRequester",
"url_pattern": "/model.model.v1alpha.ModelPublicService/ListModelRunsByRequester",
"method": "POST",
"timeout": "30s"
}
],
"grpc_no_auth": [
Expand Down

0 comments on commit c5f1a8d

Please sign in to comment.