Instrumentation fixes

Authored by ema on Apr 13 2017, 11:47 AM.


Instrumentation fixes

  • introduce a new global configuration option, 'instrumentation_ips', to specify the IPs on which to bind the instrumentation TCP port
  • use Content-Type: text/plain by default, application/json when returning JSON content
  • do not mention the URL in 404 response

Bug: T103882
(cherry picked from commit 2bf2350d63874168e737987b616cc66f7630e791)

Change-Id: I55cb62b2ed91af3e61dec1ac91d579518ed48fc1