requestid
requestid
requestid | requestid | |
---|---|---|
1 | 2 | |
172 | 4 | |
1.7% | - | |
6.3 | 1.8 | |
13 days ago | over 1 year ago | |
Go | Go | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
requestid
-
HTTP request ID association with logs
The requestid middleware for Hertz is based on the Gin framework's requestid and adapted to Hertz. Its main purpose is to add rquestid to the response and context of a request to uniquely identify a request.
requestid
-
Hertz how to use Opentelemetry for beginners
In the previous article we focused on the use of hlog in conjunction with requestid to associate logs. Hertz now also provides extended support for Opentelemetry obs-opentelemetry to facilitate the use of Opentelemetry in the Hertz service.
-
HTTP request ID association with logs
Hertz is a high-performance HTTP framework that provides requestid middlewarećbuilt-in hlog log library and some hlog log component extensions, this article focuses on how to associate request IDs with logs to make it easier for users to find logs.
What are some alternatives?
souin - An HTTP cache system, RFC compliant, compatible with @tyktechnologies, @traefik, @caddyserver, @go-chi, @bnkamalesh, @beego, @devfeel, @labstack, @gofiber, @go-goyave, @go-kratos, @gin-gonic, @roadrunner-server, @zalando, @zeromicro, @nginx and @apache
Gin - Gin is a HTTP web framework written in Go (Golang). It features a Martini-like API with much better performance -- up to 40 times faster. If you need smashing performance, get yourself some Gin.
hertz - Go HTTP framework with high-performance and strong-extensibility for building micro-services.
gin-swagger - gin middleware to automatically generate RESTful API documentation with Swagger 2.0.
obs-opentelemetry - Opentelemetry for Hertz
logger - A collection of Hertz logger extension