Ccheers
f715eb0bd8
break(metrics): refactor kratos metrics with otel metrics ( #3256 )
2024-04-01 12:03:16 +08:00
Haibo
1f10166028
fix(tracing): use global provider by default, but allow custom providers ( #2803 )
2023-05-08 11:29:02 +08:00
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>
2023-04-10 14:35:38 +08:00
jessetang
f03f5f8988
fix(middleware/tracing): golang filename modify ( #2727 )
2023-03-26 22:54:30 +08:00
jessetang
9a973d29c2
fix: rectification of non-standard lint codes ( #2746 )
2023-03-21 15:33:08 +08:00
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
2022-09-27 23:14:29 +08:00
jesse.tang
4d95050747
fix: fmt import ( #2379 )
2022-09-27 14:08:08 +08:00
jesse.tang
9737a3c5e4
fix: typo and grammatical errors ( #2368 )
...
* fix: grammar
* fix: grammar
* fix overrode
* translate to English
* translate to English
2022-09-19 10:39:54 +08:00
jesse.tang
f2a33929d0
fix: modify interface check way ( #2375 )
...
* fix: modify interface check way
* fix
2022-09-14 22:05:48 +08:00
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
2022-08-24 12:39:20 +08:00
darkweak
c9fbb27b5b
tests(coverage): Increase middleware tests coverage ( #2165 )
...
* tests(coverage): Increase tests coverage
* Lint fix
2022-07-08 19:53:21 +08:00
songzhibin97
92ba6a3209
Style:trace ( #2017 )
...
* Update metadata.go
* Update span.go
* Update statsHandler.go
2022-05-21 16:25:13 +08:00
haiyux
00c05e82a3
test:remove testify go mod ( #1766 )
...
* test:remove testify go mod
* tidy go mdo
* fix test
2022-01-14 10:02:42 +08:00
spume
0f423be434
fix(middleware/tracing): modify kartos to kratos ( #1628 )
2021-11-12 23:12:00 +08:00
longxboy
056812e4b2
feat: add http transport interface ( #1533 )
...
feat: add http transport interface
2021-10-08 11:10:21 +08:00
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
2021-09-17 04:20:42 +08:00
Windfarer
0ec3ff0b46
refactor: move plugins to contrib dir ( #1399 )
...
* move to contrib dir
Co-authored-by: chenzhihui <zhihui_chen@foxmail.com>
2021-09-01 13:40:14 +08:00
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
2021-08-31 10:14:57 +08:00
包子
7b6332ee75
deps: middleware add separate go.mod and removes framework deps ( #1385 )
...
* deps: middleware add separate go.mod and removes framework deps
2021-08-30 23:07:31 +08:00
yuemoxi
12f17a3e2e
test(middleware/) add test ( #1379 )
...
* test(middleware/) add test
2021-08-28 00:00:27 +08:00
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
2021-08-15 17:02:59 +08:00
longxboy
f65a0a9134
feat: enhance tracing ( #1300 )
...
* feat: enhance tracing
* fix go lint
2021-08-05 18:51:20 +08:00
longxboy
545ffd1084
add response header ( #1119 )
...
* add response header
Co-authored-by: chenzhihui <zhihui_chen@foxmail.com>
2021-06-29 15:33:18 +08:00
opensite
01409cfb78
kratos/typs(trace): the world spelling corrects ( #1116 )
2021-06-28 11:11:03 +08:00
包子
4a6eb3e47f
Fix rename tracing.WithPropagators to tracing.WithPropagator ( #1095 )
...
* Fix rename tracing.WithPropagators to tracing.WithPropagator
2021-06-22 22:39:55 +08:00
miya
b22bc26a02
middleware/tracing: add test ( #1083 )
2021-06-19 23:47:40 +08:00
Tony Chen
6ee0607f03
transport: add transport kind ( #1059 )
...
* add transport kind
2021-06-15 11:05:13 +08:00
Tony Chen
8d8cd8c8a8
Middleware/metadata v2 ( #1050 )
...
* add middleware metadata
* add transport header
* add transport carrier
Co-authored-by: longXboy <longxboy@gmail.com>
2021-06-14 00:59:07 +08:00
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>
2021-06-12 18:30:17 +08:00
longxboy
736385c8e6
Feat/uni transport ( #1028 )
...
* add metadata incoming&outgoing
* regenerate proto
* uni transport
Co-authored-by: chenzhihui <zhihui_chen@foxmail.com>
2021-06-11 15:05:57 +08:00
dowenliu-xyz
aab0d5aa43
fix tracing: call tracer.End() in closure. ( #928 )
2021-05-18 20:37:49 +08:00
longxboy
8f8b861f7d
add default propagation for trace ( #919 )
...
* add default propagation for trace
* add trace carrier
2021-05-17 17:23:41 +08:00
dowenliu-xyz
24b1ca6bc3
tracing: set tracing status after request. ( #911 )
2021-05-15 16:18:52 +08:00
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
2021-03-18 20:10:43 +08:00
Mikado
dcd4131d10
middleware: trace middleware change to using OpenTelemetry ( #781 )
2021-03-17 20:29:01 +08:00
realotz
db2b8bcba0
repair tracing opentracing.HTTPHeadersCarrier panic ( #714 )
...
* fix tracing carrier panic
2021-02-20 23:07:46 +08:00
chenzhihui
3566386a89
init v2
2021-02-17 17:14:47 +08:00