4 ms·
Ah, 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 par
by _thinx 4y ago
Ah, 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.