نسخ من khaledmahfouz5/Maqtaa
Refactor server code (#407)
هذا الالتزام موجود في:
9
internal/web/handlers/health/metrics.go
Normal file
9
internal/web/handlers/health/metrics.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package health
|
||||
|
||||
import "github.com/thomiceli/opengist/internal/web/context"
|
||||
|
||||
// Metrics is a dummy handler to satisfy the /metrics endpoint (for Prometheus, Openmetrics, etc.)
|
||||
// until we have a proper metrics endpoint
|
||||
func Metrics(ctx *context.Context) error {
|
||||
return ctx.String(200, "")
|
||||
}
|
||||
المرجع في مشكلة جديدة
حظر مستخدم