disgo
disgo copied to clipboard
Go Dispatch client
Ads a gzip compression handler to the JSON endpoint. During testing we found that gzip compression can reduce the amount of time to retrieve a large amount of logs by...
``` Transaction.send result: {"status":"Pending","humanReadableStatus":"Pending","created":"2019-01-29T22:44:02.993512035Z","_delegateInfo":{"address":"222c024a8b4e1c2e67c4cb54eecaa287f4bdbdd4","grpcEndpoint":{"host":"10.138.0.17","port":1973},"httpEndpoint":{"host":"35.203.143.69","port":1975},"localHttpApiPort":0,"type":"Delegate","statusTime":"0001-01-01T00:00:00Z"}} 2019-01-29T22:44:03.028967+00:00 app[web.1]: GET: {"path":"/v1/transactions/8ebee977bfa785d4220599ac52eda7a7f3f2e760c4fcb03c82b58d6fdd96d850","hostname":"35.203.143.69","port":1975,"headers":{"Content-Type":"application/json"},"method":"GET"} 2019-01-29T22:44:03.162467+00:00 app[web.1]: error: { hash: '8ebee977bfa785d4220599ac52eda7a7f3f2e760c4fcb03c82b58d6fdd96d850', 2019-01-29T22:44:03.162470+00:00 app[web.1]: type: 2, 2019-01-29T22:44:03.162472+00:00 app[web.1]: from: 'a26e3ce9000c70452e968cdc8947fe3fa7b162dd', 2019-01-29T22:44:03.162474+00:00 app[web.1]: to: 'b3edf9e5eb04f8f0dc42b57bd266c3d652527ad2', 2019-01-29T22:44:03.162512+00:00 app[web.1]: abi: '5b7b22636f6e7374616e74223a747275...27d5d',...
DEVNET ``` {"status":"Pending","humanReadableStatus":"Pending","created":"2019-01-29T06:48:58.391870446Z","_delegateInfo":{"address":"b5e76c1d2b2ff6dc654c5a35c38e307a32a33f78","grpcEndpoint":{"host":"10.138.0.16","port":1973},"httpEndpoint":{"host":"35.233.197.138","port":1975},"localHttpApiPort":0,"type":"Delegate","statusTime":"0001-01-01T00:00:00Z"}} 29b1g 2019-01-28 22:48:58-08:00GET: {"path":"/v1/transactions/590ed12307e7ed3447fb62040def01adddc53e5b9dc33c98bca5d61158904122","hostname":"35.233.197.138","port":1975,"headers":{"Content-Type":"application/json"},"method":"GET"} 29b1g 2019-01-28 22:48:58-08:00error: { hash: '590ed12307e7ed3447fb62040def01adddc53e5b9dc33c98bca5d61158904122', 29b1g 2019-01-28 22:48:58-08:00 type: 2, 29b1g 2019-01-28 22:48:58-08:00 from: 'a26e3ce9000c70452e968cdc8947fe3fa7b162dd', 29b1g 2019-01-28 22:48:58-08:00 to: 'b3edf9e5eb04f8f0dc42b57bd266c3d652527ad2', 2019-01-28 22:48:58-08:00...
Localhost requests to bookkeeper requiring delegates should be proxied to random delegate.
The idea is if an error has not been handled in code, prompt user to submit the error code and callstack to github. This could be a setting only for...