Commit Graph

105 Commits (135e5529c5c164f3573654f73123c6bba9dbea7f)

Author SHA1 Message Date
Xudong Cai 80378ca10d
fix: if not kratos context then panic will result (#1338) 3 years ago
月墨夕 86621a9573
test(internal/context,middleware) add test (#1326) 3 years ago
longxboy f65a0a9134
feat: enhance tracing (#1300) 3 years ago
zwhyb 6aba247990
add selector code annotation (#1275) 3 years ago
Tony Chen 623fc5cb3f
update version to v2.1.0-dev (#1249) 3 years ago
zwhyb 7977deac65
middleware/selector (#1244) 3 years ago
longxboy 545ffd1084
add response header (#1119) 3 years ago
opensite 01409cfb78
kratos/typs(trace): the world spelling corrects (#1116) 3 years ago
包子 4a6eb3e47f
Fix rename tracing.WithPropagators to tracing.WithPropagator (#1095) 3 years ago
miya b22bc26a02
middleware/tracing: add test (#1083) 3 years ago
Tony Chen 51a3a32502
middleware/metadata: add md test (#1064) 3 years ago
Tony Chen 6ee0607f03
transport: add transport kind (#1059) 3 years ago
longxboy 68e7f4854c
add range (#1052) 4 years ago
Tony Chen 8d8cd8c8a8
Middleware/metadata v2 (#1050) 4 years ago
Tony Chen 1b13abd136
transport/http: add http route (#1029) 4 years ago
longxboy 736385c8e6
Feat/uni transport (#1028) 4 years ago
miya c551448bbd
error.Code def support http , mw/log&metrics update (#1015) 4 years ago
miya 544e08f729
mw/log: http code 0 (#1010) 4 years ago
miya 0f011ad688
add test recovery (#1004) 4 years ago
miya 97946ddcbd
add middle/validate test (#1002) 4 years ago
longXboy 6c70049d2f delete trace 4 years ago
longXboy bf00542cb0 fix loggin middleware 4 years ago
Tony Chen 5ed0c006a0
clean access logging (#996) 4 years ago
longxboy 930d1f6cf7
get req from ctx (#975) 4 years ago
Tony Chen 66412031fd
errors: refactor status code (#948) 4 years ago
Tony Chen cc0221b5ce
errors: add errors coder (#946) 4 years ago
Tony Chen ef6e52d1ba
add multiple middlewares (#936) 4 years ago
dowenliu-xyz aab0d5aa43
fix tracing: call tracer.End() in closure. (#928) 4 years ago
Tony Chen ba5b8d1ee3
api/metadata: clean package (#926) 4 years ago
longxboy 8f8b861f7d
add default propagation for trace (#919) 4 years ago
Tony Chen d78eb3ee4b
log: add level printer (#918) 4 years ago
dowenliu-xyz 24b1ca6bc3
tracing: set tracing status after request. (#911) 4 years ago
miya dc0f4ed9b8
mw/logging:enhance req.(fmt.Stringer) (#898) 4 years ago
Tony Chen 7c6f53132f
api/errors: refactor to grpc statas (#880) 4 years ago
包子 f33bd70d75
middleware/logging client add traceid (#878) 4 years ago
包子 b8d5d709e9
middleware/logging add traceid to the printed log,modify the example code and update the dependent version (#877) 4 years ago
Tony Chen 7c3212c306
transport/http: uses gRPC status to the HTTP error. (#870) 4 years ago
包子 b03c810dce
fix middleware/logging unable to print params (#868) 4 years ago
Tony Chen e1c84ece84
refactor errors (#863) 4 years ago
Tony Chen 3780f70c91
examples: update mod (#862) 4 years ago
Tony Chen 9806191b7f
errors: Error v2 (#860) 4 years ago
Cluas 3636179347
fix: typo and avoid collides with log package name (#819) 4 years ago
Mikado 1b16831cf6
adjust trace middleware and fix blog's trace middleware use case (#791) 4 years ago
Mikado dcd4131d10
middleware: trace middleware change to using OpenTelemetry (#781) 4 years ago
Tony Chen f86c91849b
fix lint check (#746) 4 years ago
Tony Chen 330d878aa3
http: fix request context (#745) 4 years ago
storyicon 0008794b80
display error messages (#727) 4 years ago
chenzhihui 1ee7e70939 add request params 4 years ago
realotz db2b8bcba0
repair tracing opentracing.HTTPHeadersCarrier panic (#714) 4 years ago
chenzhihui e25ebc73bc fix client context 4 years ago