TheRacetrack / racetrack

An opinionated framework for deploying, managing, and serving application workloads
https://theracetrack.github.io/racetrack/
Apache License 2.0
28 stars 5 forks source link

Better monitoring of Job's condition #465

Closed iszulcdeepsense closed 1 month ago

iszulcdeepsense commented 1 month ago

Infrastructure plugins can now provide "infrastructure statistics" for every job. This is a JSON dictionary kept in a database that is displayed on a Dashboard:

Screenshot from 2024-05-27 10-42-46

anders314159 commented 1 month ago

Tested with https://github.com/TheRacetrack/plugin-kubernetes-infrastructure/pull/17, by running a pyhon job with:

class AdderModel:
    def perform(self, numbers: list[float]) -> float:
        ctypes.string_at(0)
        return sum(numbers)

Counter goes up each time perform is called. I tested using the generated swagger page.