fix: 验收修正

This commit is contained in:
zxr
2026-09-21 10:46:34 +08:00
parent b0ffde3100
commit 972adb3d38
12 changed files with 506 additions and 168 deletions

View File

@@ -45,6 +45,7 @@ func Register(srvKey string, engine *gin.Engine) {
api.DELETE("/trap-dictionary/:id", controllers.DeleteTrapDictionary)
api.GET("/trap-suppressions", controllers.ListTrapShields)
api.GET("/trap-suppression-options", controllers.ListTrapShieldOptions)
api.POST("/trap-suppressions", controllers.CreateTrapShield)
api.PUT("/trap-suppressions/:id", controllers.UpdateTrapShield)
api.DELETE("/trap-suppressions/:id", controllers.DeleteTrapShield)
@@ -53,6 +54,7 @@ func Register(srvKey string, engine *gin.Engine) {
api.GET("/traces", otlp.ListTraces)
api.GET("/traces/:trace_id", otlp.GetTrace)
api.GET("/service-dependencies", otlp.ListDependencies)
api.GET("/middleware-candidates", otlp.ListMiddlewareCandidates)
api.POST("/entries/:id/replay", controllers.ReplayLogEvent)
api.GET("/alert-outbox", controllers.ListAlertOutbox)
api.POST("/alert-outbox/:id/retry", controllers.RetryAlertOutbox)