Am I able to tweak the ArcGIS publisher to add headers to the service replies?
We have multiple single install ArcGIS servers accessible from one HTML5 app.
I'd like to add a header to the service reply so I know which server it came from.
SOIs allow for post processing of responses. I'm unsure of the ability to add a header to a response though or how APIs and clients would react to an additional header.
It would likely be more simple to monitor Server logs from each machine as incoming requests will be written at debug level.
Where would you be monitoring the header information? I'd say PMcNeilly-esristaff suggestion is the easiest. Set the logs to at least Info and you'll be able to see which machine responded to the request through whatever operation you're running, (exportMap, query, etc). What are you using instead of the Web Adaptors? I'm wondering if you can insert your own custom header once the request reaches your front-end, (Apache, F5, whatever), and then set it to whatever backend machine you're sending the request to.