You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
I'm currently working on a Go project where I'm building an API using the Echo framework. Previously, I was using the prometheus.NewPrometheus method from github.com/labstack/echo-contrib/prometheus to set up my metrics server and seperate the metric endpoint. However, the method is deprecated, and the documentation suggests using the echoprometheus package instead.
I have been trying to find examples or documentation on how to use the echoprometheus.NewMiddleware method, but I couldn't locate any. I would greatly appreciate some guidance on how to correctly set up my metrics server using echoprometheus.NewMiddleware, and it would be helpful if the documentation could be updated accordingly. Currently, the documentation still refers to prometheus.NewPrometheus as the recommended approach. https://echo.labstack.com/middleware/prometheus/
Here is the code snippet that I have been using with prometheus.NewPrometheus, and now I am looking for a solution using echoprometheus.NewMiddleware:
Any help or code examples illustrating the use of echoprometheus.NewMiddleware would be greatly appreciated. It would also be helpful if the documentation for echoprometheus could be updated to reflect the recommended approach.
The text was updated successfully, but these errors were encountered:
Description:
I'm currently working on a Go project where I'm building an API using the Echo framework. Previously, I was using the
prometheus.NewPrometheus
method from github.com/labstack/echo-contrib/prometheus to set up my metrics server and seperate the metric endpoint. However, the method is deprecated, and the documentation suggests using the echoprometheus package instead.I have been trying to find examples or documentation on how to use the
echoprometheus.NewMiddleware
method, but I couldn't locate any. I would greatly appreciate some guidance on how to correctly set up my metrics server usingechoprometheus.NewMiddleware
, and it would be helpful if the documentation could be updated accordingly. Currently, the documentation still refers to prometheus.NewPrometheus as the recommended approach.https://echo.labstack.com/middleware/prometheus/
Here is the code snippet that I have been using with prometheus.NewPrometheus, and now I am looking for a solution using
echoprometheus.NewMiddleware
:Any help or code examples illustrating the use of
echoprometheus.NewMiddleware
would be greatly appreciated. It would also be helpful if the documentation for echoprometheus could be updated to reflect the recommended approach.The text was updated successfully, but these errors were encountered: