valyala/fasthttp

How to integrate fasthttp client with opentracing gracefully

Open

#775 aperta il 7 apr 2020

Vedi su GitHub
 (3 commenti) (0 reazioni) (0 assegnatari)Go (1755 fork)batch import
help wanted

Metriche repository

Star
 (21.741 star)
Metriche merge PR
 (Merge medio 3g) (44 PR mergiate in 30 g)

Descrizione

net/http expose RoundTrip so it can integrate with opentracing by overwrite the RoundTrip function. while fasthttp client don't implement such interface and do not provide middleware. The only way to integrate with opentracing is overwrite all method of fasthttp client, but it is not graceful.

Guida contributor