Commit Graph

15 Commits (26c541b9cbd906af138795db349eebcca6a0dc8e)

Author SHA1 Message Date
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
Kevin Wan 3279a7ef0f
feat: add rest/httpc to make http requests governacible (#1638)
* feat: change x-trace-id to traceparent to follow opentelemetry

* feat: add rest/httpc to make http requests governacible

* chore: remove blank lines
3 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 Wan 655ae8034c
fix golint issues in rest (#529) 4 years ago
kevin 0a7e0cce77 update package reference 4 years ago
kevin 0897f60c5d rename ngin to rest 4 years ago