requestid
logger
requestid | logger | |
---|---|---|
1 | 1 | |
172 | 13 | |
1.7% | - | |
6.3 | 5.7 | |
13 days ago | about 2 months 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.
logger
-
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?
requestid - requestid middleware for Hertz
obs-opentelemetry - Opentelemetry for Hertz
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.
gin-swagger - gin middleware to automatically generate RESTful API documentation with Swagger 2.0.
hertz - Go HTTP framework with high-performance and strong-extensibility for building micro-services.