Commit Graph

11 Commits (464ed517287b578810cac6a97ca103972fe584f6)

Author SHA1 Message Date
Kevin Wan 05a5de7c6d
chore: fix lint errors (#2520) 2 years ago
Kevin Wan 69c2bad410
feat: logx with color (#1872)
* feat: logx with color

* chore: update logs

* fix test error

* chore: change colors of http codes

* chore: add comments

* chore: use faith/color instead of ascii code color

* chore: update colors

* chore: update colors

* chore: fix duplicated slowcall text

* chore: remove slowcall colors
3 years ago
Kevin Wan 095b603788
chore: remove gofumpt -s flag, default to be enabled (#1816) 3 years ago
anqiansong 16c61c6657
chore: Embed unit test data (#1812)
* Embed unit test data

* Add testdata

Co-authored-by: anqiansong <anqiansong@bytedance.com>
3 years ago
Kevin Wan 5f9d101bc6
feat: add runtime stats monitor (#1496) 3 years ago
Kevin Wan b76c7ae55d
chore: remove semicolon for routes of services in api files (#1195) 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 20f665ede8
implement k8s service discovery (#988)
* implement k8s service discovery

* simplify code

* use default namespace if not provided

* disable codecov bot comment

* ignore adhoc dir

* simplify building target in NewClient

* reformat code

* Fix filepath (#990)

* format code, and reorg imports (#991)

* add more unit test

Co-authored-by: anqiansong <anqiansong@gmail.com>
3 years ago
Kevin Wan ba4bac3a03
format code (#312) 4 years ago
kevin edaf45405d update config 4 years ago
kevin 7e3a369a8f initial import 4 years ago