4 ms·
How does it works ? Could you give some example please :D
by _thinx 4y ago
How does it works ? Could you give some example please :D
- verdverm 4y agoI would imagine setting a header or query param to trigger better tracing and submission to an bug reporter could be generally useful.
- _thinx 4y agoAh, I got some ideal here. So, you mean: 1/ We should have an API tracing system, hosted in a server for example, which capture all requests, including the params, headers, response. with some secure rule, e.g. hide Secret-Token header. 2/ Each request will have a header, its value is the request-id for example 3/ Whenever a bug come, we just need use request-id from 2/ and search the information in 1/ Right ?
- oxff 4y agoI can't think of why not, besides the overhead with tracing .. but I already do tracing on my apps so I could do this very easily.
- _thinx 4y agoI built several tracing systems, but none of them capturing & storing the API's response, cause too expensive, you know. Could you share more about your tracing system? I think we can learn from others.