I have an event plug-in running, but I’d like it to be opt-in only on cloud machines. Is there any way to set the opt-in dynamically? It would be great to be able to do it from OnSlaveStartedCallback in another event plug-in.
I saw in another post a hint that this could be done for a job my modifying
job.Properties.EventOptInArray, but I don’t see that in the current API docs either, and nothing analagous for workers.
I can put a guard in the event plug-in, of course, to filter the machines it operates on. But I’d have to do that for every callback, and it would be a lot of wasted cycles.