Trong Huu Nguyen
|
889e0c8edf
|
feat(middleware/correlationid): use x-request-id header if found in request
|
2022-09-19 08:41:14 +02:00 |
|
Trong Huu Nguyen
|
989aa1e998
|
refactor(middleware/logentry): add fields to default logger
|
2022-09-03 20:05:28 +02:00 |
|
Trong Huu Nguyen
|
9144056e28
|
refactor(handler): split up request handlers into separate modules
|
2022-09-02 14:53:11 +02:00 |
|
Trong Huu Nguyen
|
5d00d132dd
|
refactor: decouple handler implementation from router and middleware
|
2022-09-01 19:39:47 +02:00 |
|
Trong Huu Nguyen
|
dc0741f79f
|
refactor(middleware): extract handlers for consistency
|
2022-08-26 08:34:07 +02:00 |
|
Trong Huu Nguyen
|
4d7502a4be
|
refactor(middleware/logentry): strip query and fragment from referer logs
|
2022-08-25 22:31:01 +02:00 |
|
Trong Huu Nguyen
|
5f6c0c01a8
|
feat: add ingress middleware
|
2022-08-17 11:39:41 +02:00 |
|
Trong Huu Nguyen
|
a9e9644764
|
refactor: move context utils to middleware
|
2022-08-17 11:39:40 +02:00 |
|
Trong Huu Nguyen
|
51075ad9ed
|
refactor(middleware/logentry): remove httplog dependency
|
2022-08-11 09:54:23 +02:00 |
|
Trong Huu Nguyen
|
31ab8ad3b7
|
refactor(handler/default): redirect auto-login requests instead of inlining login handler
|
2022-07-21 08:21:28 +02:00 |
|
Trong Huu Nguyen
|
b4e6e97448
|
refactor(metrics): use const label for hpa, ensure provider label is set
|
2022-07-20 14:50:13 +02:00 |
|
Trong Huu Nguyen
|
4ab07e9dc2
|
refactor: clean up logging
|
2022-07-19 08:39:02 +02:00 |
|
Trong Huu Nguyen
|
bece03c94e
|
refactor(middleware/logentry): replace zerologger with logrus
|
2022-07-18 15:47:35 +02:00 |
|
Trong Huu Nguyen
|
445a20f1c1
|
refactor(middleware/prometheus): add host label
|
2022-07-18 09:40:18 +02:00 |
|
Trong Huu Nguyen
|
e3b9d33296
|
refactor: split out packages from router
|
2022-07-15 07:44:54 +02:00 |
|
Trong Huu Nguyen
|
3a35584a21
|
refactor: restructure and group related packages into subpackages
|
2021-10-20 09:03:14 +02:00 |
|
Trong Huu Nguyen
|
77d0438411
|
feat: use latest go-chi v5, add middlewares for panic recovery and logging
Co-Authored-By: Sindre Rødseth Hansen <sindre.rodseth.hansen@nav.no>
|
2021-10-05 11:45:42 +02:00 |
|
Trong Huu Nguyen
|
569855cef2
|
refactor: minor cleanups for middleware
|
2021-10-04 18:45:40 +02:00 |
|
Trong Huu Nguyen
|
788ef1278a
|
refactor: add correlation ID for error response logs
Co-Authored-By: Sindre Rødseth Hansen <sindre.rodseth.hansen@nav.no>
|
2021-10-04 14:36:54 +02:00 |
|
Morten Lied Johansen
|
43dd8d7926
|
More, correct, metrics
Co-authored-by: Trong Huu Nguyen <trong.huu.nguyen@nav.no>
Co-authored-by: Sindre Rødseth Hansen <sindre.rodseth.hansen@nav.no>
|
2021-10-01 10:28:44 +02:00 |
|
Kim Tore Jensen
|
081921d0fa
|
add http request metrics
|
2021-09-02 11:16:45 +02:00 |
|