We would like to implement a couple of custom “heat maps” in the monitor, that would be used by managerial staff /wranglers to quickly get an overview of jobs according to certain different conditions (rendertimes, resource usage etc).
Would it be possible to create custom colors for the jobs somehow? Either by a custom color definition script, or a simple per-job property (maybe using the extra props) that could be pre-filled with the colors we want?
You mean for the Job/Task list itself? The way things are currently structured, it’d be a little tricky to let Jobs have arbitrary colours, since the colour of a Job is currently only based on its Status and whether or not it has any errors (which will tint the colour towards the ‘errror’ colour). The only thing we currently have support for is to swap out the colours for individual statuses on a per-Monitor basis (monitor options -> styles).
If you’re planning on creating an entirely separate UI (which it kinda sounds like you are), you could save some stuff to the Jobs’ ExtraInfo fields (or ExtraInforKeyValue fields, which would probably be better for something like this).
If you guys need to be able to specify a custom colour in the Job List itself on a per-job basis, I don’t think it’d be too hard to do for 7.1, though, especially if it’s just a scripting option that’s not actually exposed in the regular Montior UI.
My preferred way of handling it would be kinda like a “color coding” plugin type, bits of python script we could assign to event hooks that determine the color of the jobs. Give it a single job (or all of them?) and it returns the color based on its props.