valyala/fasthttp

How to integrate fasthttp client with opentracing gracefully

Open

#775 geöffnet am 7. Apr. 2020

Auf GitHub ansehen
 (3 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Go (1.755 Forks)batch import
help wanted

Repository-Metriken

Stars
 (21.741 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 1T 11h) (34 gemergte PRs in 30 T)

Beschreibung

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.

Contributor Guide