Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions src/DIRAC/MonitoringSystem/Service/WebAppHandler.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,19 @@ def export_getPilotLoggingInfo(cls, pilotReference):

return S_OK(loggingInfo)

types_getGroupedPilotSummary = [list]

@classmethod
def export_getGroupedPilotSummary(cls, columnList):
"""
Get pilot summary showing grouped by columns in columnList, all pilot states
and pilot efficiencies in a single row.

:param columnList: a list of columns to GROUP BY (less status column)
:return: a dictionary containing column names and data records
"""
return cls.pilotAgentsDB.getGroupedPilotSummary(columnList)

##############################################################################
# Jobs
##############################################################################
Expand Down
Loading