Page 1 of 1

Add "Processor@Node" to API /monitor

Posted: Wed Feb 26, 2020 6:21 pm
by gdpodesta
In many cases, the Finished Jobs portion of the monitor will show 3 or 4 lines (in my case) that are identical. As the guy running these jobs, I recognize that it all depends on the workflow, but nobody else can make that distinction. Even I can't tell which part of the Workflow finished.

Can something be added to the Monitor output to be to make the distinction of what exactly finished with the shown result?
2-26-2020 10-19-44 AM.jpg
2-26-2020 10-19-44 AM.jpg (123.46 KiB) Viewed 8123 times

Re: Add "Processor@Node" to API /monitor

Posted: Thu Feb 27, 2020 9:52 pm
by admin
Hi gdpodesta,

Isn't this a bit similar to an earlier topic you created?: viewtopic.php?f=5&t=1043&p=4955&hilit=gdpodesta#p4955

You can change the result/"Success" text to anything you want at the end of a job. This way you're not bound to whatever we implement in the monitors. Please import and take a look the the example workflow i have attached. Just submit any file to the "Start" node.

Hope this helps.

-steinar

Re: Add "Processor@Node" to API /monitor

Posted: Thu Feb 27, 2020 10:08 pm
by emcodem
an additional note, you might want to check out how the webinterface deals with all this stuff...

Re: Add "Processor@Node" to API /monitor

Posted: Fri Feb 28, 2020 4:02 pm
by gdpodesta
Similar, but the other is for the new Web Interface, and this one is for the API/Monitor endpoint at http://x.x.x.x:65445/monitor.
Our users can't have access to the full web interface, but what they need to see IS in the api Monitor endpoint.
The WEb interface is regarding confusion about how it groups/collapses jobs, but in both cases, there is no specificity of each line being desiplayed

Re: Add "Processor@Node" to API /monitor

Posted: Fri Feb 28, 2020 10:32 pm
by gdpodesta
Okay, upon examining your workflow , I'm going to assume that you were saving this for my birthday, and that my whining forced you to show it to me early. Clearly, I haven't been aware of just how powerful FFAStrans really is, so you may not hear from me ever again as I dive into the "Wonderful World of Custom Variables". Thanks Guys!

Re: Add "Processor@Node" to API /monitor

Posted: Sat Feb 29, 2020 8:10 am
by admin
Hehe, that's nice to read, gdpodesta! And I don't mean the part about not hearing from you again ;-)

-steinar