krishna-st opened a new pull request, #17330:
URL: https://github.com/apache/pinot/pull/17330
Adds a new `/tasks/summary` REST endpoint that consolidates task information
across all task types into a single API call.
- New endpoint: `GET /tasks/summary`
- Response model: `TaskSummaryResponse` with aggregated task counts
API Response Format
```json
{
"totalRunningTasks": 150,
"totalWaitingTasks": 50,
"totalInProgressTaskTypes": 2,
"taskTypeBreakdown": [
{
"taskType": "SegmentGenerationAndPushTask",
"runningCount": 100,
"waitingCount": 30
},
{
"taskType": "RealtimeToOfflineSegmentsTask",
"runningCount": 50,
"waitingCount": 20
}
]
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]