Commit Graph

199 Commits

Author SHA1 Message Date
28b73ae09f fix tests, update for logging 2024-06-07 17:56:50 +03:00
7c784c8310 change format to something like symfony monolog 2024-06-07 17:56:50 +03:00
f6c319752e json logging support, uppercase level 2024-06-07 17:56:50 +03:00
aead3854e1 fix stack overflow 2024-06-07 17:56:50 +03:00
3afa198be2 remove slog completely 2024-06-07 17:56:50 +03:00
194e9c40e9 zap logger updates 2024-06-07 17:56:50 +03:00
96ac6a6940 integrate zap logger 2024-06-07 17:56:49 +03:00
2455c11704 move gin to handler field 2024-06-07 17:56:01 +03:00
7d1f722a9e allow SetLogger call before Prepare 2024-06-07 17:56:01 +03:00
f5bda28e92 gin middleware for logging 2024-06-07 17:56:01 +03:00
8fd4bc26bf partial GIN logging replacement 2024-06-07 17:56:01 +03:00
e9e9c4c442 update adapters & fixes 2024-06-07 17:56:01 +03:00
4bca4c491e fix for BuildJSONWithRaw 2024-06-07 17:56:01 +03:00
7f0709888c fix http status helpers 2024-06-07 17:56:01 +03:00
8eb0d6b31f add Body helper 2024-06-07 17:56:01 +03:00
57d7084b74 update HTTPStatus helper 2024-06-07 17:56:01 +03:00
4c1f29ba01 add HTTPStatus helper 2024-06-07 17:56:01 +03:00
b97f05e666 add more predetermined log keys 2024-06-07 17:56:01 +03:00
2d1b2351ee add json unmarshaling helper 2024-06-07 17:56:01 +03:00
a2eb85eb25 wip: structured logging 2024-06-07 17:56:01 +03:00
2f76dfd95e
Merge pull request #72 from retailcrm/dependabot/go_modules/golang.org/x/net-0.23.0
Bump golang.org/x/net from 0.10.0 to 0.23.0
2024-06-06 15:13:45 +03:00
dependabot[bot]
0f162ebc13
Bump golang.org/x/net from 0.10.0 to 0.23.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.10.0 to 0.23.0.
- [Commits](https://github.com/golang/net/compare/v0.10.0...v0.23.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-06 11:48:28 +00:00
d4f6070dc6
Merge pull request #70 from retailcrm/dependabot/go_modules/google.golang.org/protobuf-1.33.0
Bump google.golang.org/protobuf from 1.30.0 to 1.33.0
2024-06-06 14:47:41 +03:00
14e5891052
Merge branch 'master' into dependabot/go_modules/google.golang.org/protobuf-1.33.0 2024-06-06 14:41:51 +03:00
60ef06e479
Merge pull request #69 from retailcrm/dependabot/go_modules/golang.org/x/crypto-0.17.0
Bump golang.org/x/crypto from 0.9.0 to 0.17.0
2024-06-06 14:41:15 +03:00
14cdfa7075
Merge branch 'master' into dependabot/go_modules/google.golang.org/protobuf-1.33.0 2024-06-06 14:37:54 +03:00
dependabot[bot]
52bcb87ed8
Bump golang.org/x/crypto from 0.9.0 to 0.17.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.9.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.9.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-06 11:37:52 +00:00
b6d2ee5d7c
add proxy support to the HTTP client built by library 2024-06-06 14:36:24 +03:00
8c71692047 fix lint errors 2024-06-06 14:11:11 +03:00
655b86abb0 add proxy support to the HTTP client built by library
This change restores default *http.Transport behavior for the client built by the library.
2024-06-06 14:06:20 +03:00
584c5ed306
update gock 2024-04-17 12:34:34 +03:00
69286907ea bigger test timeout 2024-04-17 12:10:53 +03:00
bcf125be1f fix golangci config 2024-04-17 12:06:22 +03:00
a1124600a6 update build 2024-04-17 11:52:03 +03:00
d108e6d7a2 update gock 2024-04-17 11:47:10 +03:00
dependabot[bot]
42f0035dad
Bump google.golang.org/protobuf from 1.30.0 to 1.33.0
Bumps google.golang.org/protobuf from 1.30.0 to 1.33.0.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-13 22:39:44 +00:00
0900688f4c
Bump golang.org/x/crypto from 0.0.0-20210921155107-089bfa567519 to 0.1.0 2023-08-11 12:43:19 +03:00
2a7d263ec6
Merge branch 'master' into dependabot/go_modules/golang.org/x/crypto-0.1.0 2023-08-11 12:35:10 +03:00
4b5bcfd732
Bump github.com/gin-gonic/gin from 1.9.0 to 1.9.1 2023-08-11 12:32:47 +03:00
dependabot[bot]
a532892ff6
Bump github.com/gin-gonic/gin from 1.9.0 to 1.9.1
Bumps [github.com/gin-gonic/gin](https://github.com/gin-gonic/gin) from 1.9.0 to 1.9.1.
- [Release notes](https://github.com/gin-gonic/gin/releases)
- [Changelog](https://github.com/gin-gonic/gin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gin-gonic/gin/compare/v1.9.0...v1.9.1)

---
updated-dependencies:
- dependency-name: github.com/gin-gonic/gin
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-11 09:29:59 +00:00
b578ed291d
Bump github.com/gin-gonic/gin from 1.7.2 to 1.9.0 2023-08-11 12:29:25 +03:00
b0ce37261a
refactoring upload to aws s3 2023-05-10 09:36:17 +03:00
dependabot[bot]
3e8a882452
Bump github.com/gin-gonic/gin from 1.7.2 to 1.9.0
Bumps [github.com/gin-gonic/gin](https://github.com/gin-gonic/gin) from 1.7.2 to 1.9.0.
- [Release notes](https://github.com/gin-gonic/gin/releases)
- [Changelog](https://github.com/gin-gonic/gin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gin-gonic/gin/compare/v1.7.2...v1.9.0)

---
updated-dependencies:
- dependency-name: github.com/gin-gonic/gin
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-05 02:30:44 +00:00
Ефанов Руслан
4405f30535 refactoring upload to aws s3 2023-05-03 17:07:28 +03:00
dependabot[bot]
68da3b07cf
Bump golang.org/x/crypto from 0.0.0-20210921155107-089bfa567519 to 0.1.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.0.0-20210921155107-089bfa567519 to 0.1.0.
- [Release notes](https://github.com/golang/crypto/releases)
- [Commits](https://github.com/golang/crypto/commits/v0.1.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-07 02:16:21 +00:00
0dfde8f31c
add metric_prefix field in zabbix config 2023-02-09 11:12:32 +03:00
Ефанов Руслан
28cec0b90c add new field in zabbix config 2023-02-09 10:37:00 +03:00
312de3f19e
use provided reset period in counters 2023-01-10 10:48:11 +03:00
1932d489e5 use provided reset period in counters 2023-01-10 10:41:09 +03:00
6385bc177f
fix doc string for NotifyMessageLocalizer 2023-01-10 10:36:08 +03:00