OTel: 成功的插件终止请求 ("StatusRespond") 会被记录为跨度状态错误 ("响应成功")
作者: bourlaad创建于 2026年9月8日更新于 2026年9月9日
标签bugexternal
// record 2XX to analytics successHandler.RecordHit(r, analytics.Latency{...}, rw.statusCodeSent, rw.getHttpResponse(r), false)
// no need to continue passing this request down to reverse proxy return ErrResponseSucceed, middleware.StatusRespond
`ErrResponseSucceed` is explicitly a benign domain-typed signal, not a failure:内容来源: TykTechnologies/tyk