Skip to content

Commit

Permalink
contrib/gin-gonic: collect appsec WAF metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
Hellzy committed Mar 30, 2022
1 parent 0ffd742 commit 9ed3dac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions contrib/gin-gonic/gin/appsec.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,6 @@ func useAppSec(c *gin.Context, span tracer.Span) func() {
}
httpsec.SetSecurityEventTags(span, events, remoteIP, args.Headers, c.Writer.Header())
}
httpsec.SetTags(span, op.Metrics())
}
}

0 comments on commit 9ed3dac

Please sign in to comment.