Commit Graph

16 Commits (89ce5e492b7a6659329e04c2622aba8593d93500)

Author SHA1 Message Date
Kevin Wan c28e01fed3
feat: support CORS by using rest.WithCors(...) (#1212)
* feat: support CORS by using rest.WithCors(...)

* chore: add comments

* refactor: lowercase unexported methods

* ci: fix lint errors
3 years ago
Kevin Wan 3ede597a15
feat: support customizing timeout for specific route (#1203)
* feat: support customizing timeout for specific route

* test: add more tests
3 years ago
Kevin Wan 769d06c8ab
refactor: simplify tls config in rest (#1181) 3 years ago
Howie cd1f8da13f
[update] add plugin config (#1180)
Signed-off-by: lihaowei <haoweili35@gmail.com>
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 ed15ca04f4
fix: opentelemetry traceid not correct (#1108) 3 years ago
zhoushuguang 280e837c9e
rest otel support (#943) 3 years ago
noel faf4d7e3bb
modify the order of PrometheusHandler (#670)
* modify the order of PrometheusHandler

* modify the order of PrometheusHandler
4 years ago
Kevin Wan 655ae8034c
fix golint issues in rest (#529) 4 years ago
Kevin Wan 03b5fd4a10
fix golint issues (#458) 4 years ago
kevin 5e87b33b23 support https in rest 4 years ago
kevin 737cd4751a rename NewPatRouter to NewRouter 4 years ago
kevin 9277ad77f7 fix typo of prometheus 4 years ago
kevin a958400595 rename prommetric to prometheous, add unit tests 4 years ago
kevin 2b1466e41e add more tests 4 years ago
kevin 054d9b5540 rename rest files 4 years ago