Skip to content

Debug ability

Shrey Garg edited this page Aug 28, 2017 · 1 revision

Poseidon provides helpful features to help developers debug issues:

1) Debug API (whatIsWrongWithThis)

Passing "whatIsWrongWithThis" as a query parameter with an existing API call shows all the upstream calls made for the current request. Detailing the service hit, headers and content passed to the upstream and the response and headers received from the upstream.

  • disableServiceResponses

Passing this as a query parameter will not include the upstream responses in the response of the debug API.

  • includeOnly

A list of services can be passed as a comma separated value with this parameter, the API response will only show the selected responses.

  • enableCacheCandidates

Passing this parameter will collapse all upstream requests which are candidates for collapsing if hystrix request cacheable is switched on. This will also display the number of times the same upstream calls were made.