Commit Graph

16 Commits (43b8c7f6417cde9e26a9305e1f144ec6d0452ad6)

Author SHA1 Message Date
cong f9619328f2
refactor(rest): use static config for trace ignore paths. (#2773) 2 years ago
chen quan fc9b3ffdc1
refactor: use opentelemetry's standard api to track http status code (#2760) 2 years ago
Kevin Wan 83f88d177f
chore: improve codecov (#2752) 2 years ago
xiang 641ebf1667
feat: trace http.status_code (#2708)
* feat: trace http.status_code

* feat: implements http.Flusher & http.Hijacker for traceResponseWriter

* test: delete notTracingSpans after test

* feat: trace http.status_code

* feat: implements http.Flusher & http.Hijacker for traceResponseWriter

* test: delete notTracingSpans after test

* refactor: update trace handler span message

* fix: code conflict
2 years ago
chen quan 97a8b3ade5
fix(rest): fix issues#2628 (#2629) 2 years ago
Kevin Wan 9cadab2684
chore: refactor (#2545)
* chore: refactor

* chore: refactor
2 years ago
chen quan 7fe2492009
feat(trace): support for disabling tracing of specified `spanName` (#2363) 2 years ago
maizige cfda972d50
fix:trace graceful stop,pre loss trace (#2358) 2 years ago
Kevin Wan d9620bb072
chore: remove unused packages (#2312) 2 years ago
Kevin Wan 842656aa90
feat: log 404 requests with traceid (#1554) 3 years ago
Kevin Wan a91c3907a8
feat: rename module from tal-tech to zeromicro (#1413) 3 years ago
Kevin Wan 10e7922597
feat: opentelemetry integration, removed self designed tracing (#1111)
* feat: opentelemetry integration, removed self designed tracing

* feat: support zipkin on opentelemetry integration

* feat: support zipkin on opentelemetry integration, enable it in conf

* style: format code

* fix: support logx without exporter configured

* fix: check return values

* refactor: simplify code

* refactor: simplify opentelemetry integration

* ci: fix staticcheck errors
3 years ago
Kevin Wan 9c1ee50497
refactor (#920) 3 years ago
chenquan 7c842f22d0
Add traceId to the response headers (#919)
* Add traceId to the request headers

* Add test cases

* Update refactor code
3 years ago
kevin 0a7e0cce77 update package reference 4 years ago
kevin 0897f60c5d rename ngin to rest 4 years ago