API to obtain list of currently running jobs in a DSS instance

Turribeach
Turribeach Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 2,101 Neuron

Hi, there is no current API to obtain list of currently running jobs in a DSS instance. We want to have the same capability as the current Jobs section under /admin/monitoring/background-tasks/. All the other sections on this page already have APIs:

list_running_notebooks()
list_running_scenarios()
list_futures()

The current list_jobs() API can only be used selecting a project first which is not feasable for larger instances. It will also be great to be able to get number of running "Concurrent activities" so that we can compare it to the Administration > Settings > Flow build > Concurrent activities > Global limit and see when DSS runs out of concurrent activitity slots to run new jobs. And since I am asking might as well get the number of jobs queued if the Global Limit is reached.

Thanks

7
7 votes

New · Last Updated

Comments

Setup Info
    Tags
      Help me…