Haibo
1f10166028
fix(tracing): use global provider by default, but allow custom providers ( #2803 )
2 years ago
ibrahim albarghouthi
3958f9d5c0
refactor: metadata supports key corresponding to multiple values ( #2772 )
...
* Adding Add/Values fn for transport and metadata layers, fixed tests and included tests to new functionaltieis, updated metadata middleware to append instead of hard set of key-values
* Remove useless function
* Linit fix
---------
Co-authored-by: Ibrahim Barghouthi <ibrahim.barghouthi@cenomi.com>
2 years ago
jessetang
f03f5f8988
fix(middleware/tracing): golang filename modify ( #2727 )
2 years ago
jessetang
9a973d29c2
fix: rectification of non-standard lint codes ( #2746 )
2 years ago
jesse.tang
0ecc2b422f
style: modify declaring empty slices ( #2378 )
...
* fix: modify declaring empty slices
declare an empty slice to var s []int replace s :=[]int{}, https://github.com/golang/go/wiki/CodeReviewComments#declaring-empty-slices
* fix lint
2 years ago
jesse.tang
4d95050747
fix: fmt import ( #2379 )
2 years ago
jesse.tang
9737a3c5e4
fix: typo and grammatical errors ( #2368 )
...
* fix: grammar
* fix: grammar
* fix overrode
* translate to English
* translate to English
2 years ago
jesse.tang
f2a33929d0
fix: modify interface check way ( #2375 )
...
* fix: modify interface check way
* fix
2 years ago
Germiniku
cb6176dbbb
feat(tracing) custom tracer name ( #2310 )
...
* feat(log): add tencent cls
fix
update
* refactor(log) use the same interface name
* fix(log) tencent toString
* feat(tracing) custom tracer name
3 years ago
darkweak
c9fbb27b5b
tests(coverage): Increase middleware tests coverage ( #2165 )
...
* tests(coverage): Increase tests coverage
* Lint fix
3 years ago
songzhibin97
92ba6a3209
Style:trace ( #2017 )
...
* Update metadata.go
* Update span.go
* Update statsHandler.go
3 years ago
haiyux
00c05e82a3
test:remove testify go mod ( #1766 )
...
* test:remove testify go mod
* tidy go mdo
* fix test
3 years ago
spume
0f423be434
fix(middleware/tracing): modify kartos to kratos ( #1628 )
3 years ago
longxboy
056812e4b2
feat: add http transport interface ( #1533 )
...
feat: add http transport interface
3 years ago
Kagaya
04bc0e63ba
test(middleware/tracing): tracing unit test enhancement ( #1484 )
...
* use t.Setenv
* add tracing test
* lint fix
* update go test env to go@1.17
* remove grep
* rename Transport
3 years ago
Windfarer
0ec3ff0b46
refactor: move plugins to contrib dir ( #1399 )
...
* move to contrib dir
Co-authored-by: chenzhihui <zhihui_chen@foxmail.com>
4 years ago
Kagaya
f7588a47de
fix: ci lint error ( #1391 )
...
* fix lint check
* fix lll lint error
* fix build error
* fix gomnd
* fix shadow declaration
* add make test command
* update
4 years ago
包子
7b6332ee75
deps: middleware add separate go.mod and removes framework deps ( #1385 )
...
* deps: middleware add separate go.mod and removes framework deps
4 years ago
yuemoxi
12f17a3e2e
test(middleware/) add test ( #1379 )
...
* test(middleware/) add test
4 years ago
Xudong Cai
80378ca10d
fix: if not kratos context then panic will result ( #1338 )
...
* fix: if not kratos context panic
当ctx不是kratos的context,则app.Name()会导致panic
4 years ago
longxboy
f65a0a9134
feat: enhance tracing ( #1300 )
...
* feat: enhance tracing
* fix go lint
4 years ago
longxboy
545ffd1084
add response header ( #1119 )
...
* add response header
Co-authored-by: chenzhihui <zhihui_chen@foxmail.com>
4 years ago
opensite
01409cfb78
kratos/typs(trace): the world spelling corrects ( #1116 )
4 years ago
包子
4a6eb3e47f
Fix rename tracing.WithPropagators to tracing.WithPropagator ( #1095 )
...
* Fix rename tracing.WithPropagators to tracing.WithPropagator
4 years ago
miya
b22bc26a02
middleware/tracing: add test ( #1083 )
4 years ago
Tony Chen
6ee0607f03
transport: add transport kind ( #1059 )
...
* add transport kind
4 years ago
Tony Chen
8d8cd8c8a8
Middleware/metadata v2 ( #1050 )
...
* add middleware metadata
* add transport header
* add transport carrier
Co-authored-by: longXboy <longxboy@gmail.com>
4 years ago
Tony Chen
1b13abd136
transport/http: add http route ( #1029 )
...
* add http route
* fix http context
* add HTTP middleware
Co-authored-by: longXboy <longxboyhi@gmail.com>
4 years ago
longxboy
736385c8e6
Feat/uni transport ( #1028 )
...
* add metadata incoming&outgoing
* regenerate proto
* uni transport
Co-authored-by: chenzhihui <zhihui_chen@foxmail.com>
4 years ago
dowenliu-xyz
aab0d5aa43
fix tracing: call tracer.End() in closure. ( #928 )
4 years ago
longxboy
8f8b861f7d
add default propagation for trace ( #919 )
...
* add default propagation for trace
* add trace carrier
4 years ago
dowenliu-xyz
24b1ca6bc3
tracing: set tracing status after request. ( #911 )
4 years ago
Mikado
1b16831cf6
adjust trace middleware and fix blog's trace middleware use case ( #791 )
...
* middleware: adjust trace middleware
* examples: fix blog's trace middleware use case
4 years ago
Mikado
dcd4131d10
middleware: trace middleware change to using OpenTelemetry ( #781 )
4 years ago
realotz
db2b8bcba0
repair tracing opentracing.HTTPHeadersCarrier panic ( #714 )
...
* fix tracing carrier panic
4 years ago
chenzhihui
3566386a89
init v2
4 years ago