Kevin Wan
9cadab2684
chore: refactor ( #2545 )
...
* chore: refactor
* chore: refactor
2 years ago
swliao425
b21162d638
fix: redis's pipeline logs are not printed completely ( #2538 )
...
* fix: redis's pipeline logs are not printed completely
* add unit test
Signed-off-by: liaoshiwei <liaoshiwei@uniontech.com>
Signed-off-by: liaoshiwei <liaoshiwei@uniontech.com>
2 years ago
maizige
cfda972d50
fix:trace graceful stop,pre loss trace ( #2358 )
2 years ago
chen quan
e567a0c718
refactor: refactor trace in redis & sql & mongo ( #1865 )
...
* refactor: refactor tracing in redis & sql & mongo
Signed-off-by: chenquan <chenquan.dev@gmail.com>
* fix: fix some tests
Signed-off-by: chenquan <chenquan.dev@gmail.com>
* refactor: add missing content
Signed-off-by: chenquan <chenquan.dev@gmail.com>
* refactor: adjust `log` and `return`
Signed-off-by: chenquan <chenquan.dev@gmail.com>
* refactor: reformat code
Signed-off-by: chenquan <chenquan.dev@gmail.com>
* refactor: reformat code
Signed-off-by: chenquan <chenquan.dev@gmail.com>
* refactor: reformat code
Signed-off-by: chenquan <chenquan.dev@gmail.com>
* refactor: simpler span name
Signed-off-by: chenquan <chenquan.dev@gmail.com>
* refactor: fix a bug
Signed-off-by: chenquan <chenquan.dev@gmail.com>
* refactor: fix a bug
Signed-off-by: chenquan <chenquan.dev@gmail.com>
3 years ago
Kevin Wan
ac321fc146
feat: add fields with logx methods, support using third party logging libs. ( #1847 )
...
* backup
* simplify
* chore: remove unused pool
* chore: fix lint errors
* chore: use strings.Builder instead of bytes.Buffer
* test: add more tests
* chore: fix reviewdog
* test: fix data race
* feat: make logger customizable
* chore: fix reviewdog
* test: fix fails
* chore: fix set writer twice
* chore: use context instead of golang.org context
* chore: specify uint32 for level types
3 years ago
chen quan
22b157bb6c
chore: optimize code ( #1818 )
...
Signed-off-by: chenquan <chenquan.dev@gmail.com>
3 years ago
chen quan
162e9cef86
feat: add trace in redis & mon & sql ( #1799 )
...
* feat: add sub spanId with redis
Signed-off-by: chenquan <chenquan.dev@gmail.com>
* add tests
Signed-off-by: chenquan <chenquan.dev@gmail.com>
* fix a bug
Signed-off-by: chenquan <chenquan.dev@gmail.com>
* feat: add sub spanId in sql
Signed-off-by: chenquan <chenquan.dev@gmail.com>
* feat: add sub spanId in mon
Signed-off-by: chenquan <chenquan.dev@gmail.com>
* chore: optimize code
Signed-off-by: chenquan <chenquan.dev@gmail.com>
* feat: add breaker in warpSession
Signed-off-by: chenquan <chenquan.dev@gmail.com>
* chore: optimize code
Signed-off-by: chenquan <chenquan.dev@gmail.com>
* test: add tests
Signed-off-by: chenquan <chenquan.dev@gmail.com>
* chore: reformat code
Signed-off-by: chenquan <chenquan.dev@gmail.com>
* fix: fix typo
Signed-off-by: chenquan <chenquan.dev@gmail.com>
* fix a bug
Signed-off-by: chenquan <chenquan.dev@gmail.com>
3 years ago
Kevin Wan
a40254156f
refactor: refactor yaml unmarshaler ( #1517 )
3 years ago
Kevin Wan
822ee2e1c5
feat: update go-redis to v8, support ctx in redis methods ( #1507 )
...
* feat: update go-redis to v8, support ctx in redis methods
* fix compile errors
* chore: remove unused const
* chore: add tracing log on redis
3 years ago