Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
I Am Trying To Implement A Service Task Which Will Do Some Orchestration Of Jobs, Queues, Vm Instances, Etc. I'M Using Clearml.Backend_Api.Session.Client.Apiclient To Fetch The List Of Queues And Tasks With Their Statuses. What I Also Need And Cannot Figu

I am trying to implement a service task which will do some orchestration of jobs, queues, VM instances, etc.
I'm using clearml.backend_api.session.client.APIClient to fetch the list of queues and tasks with their statuses. What I also need and cannot figure out how to do is how to get the list of currently available workers with some additional useful info (ideally I'd want to detect if they've been idle for some time so I can turn them off). APIClient.workers.get_all() returns the list of workers in (id, name) format but I'm not sure how to get any additional worker info from there. Thanks!

  
  
Posted 11 months ago
Votes Newest

Answers 3


Hi @<1631102016807768064:profile|ZanySealion18> , workers.get_all does retrieve all info regarding the workers. As far as I can remember, idle time is not returned.

  
  
Posted 10 months ago

Hi @<1631102016807768064:profile|ZanySealion18> , I would suggest using the web UI as a reference. Open developer tools and check what is being sent/received when looking at the workers/queues pages

  
  
Posted 10 months ago

Got it, thanks folks!

  
  
Posted 10 months ago