zitadel/internal/api/http
Elio Bischof 1a49b7d298
perf: project quotas and usages (#6441)
* project quota added

* project quota removed

* add periods table

* make log record generic

* accumulate usage

* query usage

* count action run seconds

* fix filter in ReportQuotaUsage

* fix existing tests

* fix logstore tests

* fix typo

* fix: add quota unit tests command side

* fix: add quota unit tests command side

* fix: add quota unit tests command side

* move notifications into debouncer and improve limit querying

* cleanup

* comment

* fix: add quota unit tests command side

* fix remaining quota usage query

* implement InmemLogStorage

* cleanup and linting

* improve test

* fix: add quota unit tests command side

* fix: add quota unit tests command side

* fix: add quota unit tests command side

* fix: add quota unit tests command side

* action notifications and fixes for notifications query

* revert console prefix

* fix: add quota unit tests command side

* fix: add quota integration tests

* improve accountable requests

* improve accountable requests

* fix: add quota integration tests

* fix: add quota integration tests

* fix: add quota integration tests

* comment

* remove ability to store logs in db and other changes requested from review

* changes requested from review

* changes requested from review

* Update internal/api/http/middleware/access_interceptor.go

Co-authored-by: Silvan <silvan.reusser@gmail.com>

* tests: fix quotas integration tests

* improve incrementUsageStatement

* linting

* fix: delete e2e tests as intergation tests cover functionality

* Update internal/api/http/middleware/access_interceptor.go

Co-authored-by: Silvan <silvan.reusser@gmail.com>

* backup

* fix conflict

* create rc

* create prerelease

* remove issue release labeling

* fix tracing

---------

Co-authored-by: Livio Spring <livio.a@gmail.com>
Co-authored-by: Stefan Benz <stefan@caos.ch>
Co-authored-by: adlerhurst <silvan.reusser@gmail.com>
2023-09-15 16:58:45 +02:00
..
middleware perf: project quotas and usages (#6441) 2023-09-15 16:58:45 +02:00
cookie.go fix: set samesite to none for user agent cookie for iframe usage (#6162) 2023-07-10 07:51:56 +02:00
domain_check.go fix: add .txt ending to domain validation as given in console (#6079) 2023-07-07 11:50:45 +00:00
error_test.go fix(api): return correct http code on assets api (#6388) 2023-08-18 13:51:11 +00:00
error.go fix(api): return correct http code on assets api (#6388) 2023-08-18 13:51:11 +00:00
header.go fix: introduce measures to avoid bots crawling and indexing activities (#5728) 2023-05-05 10:25:02 +02:00
marshal.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
origin.go feat: handle missing trailing slashes for console and login (#3490) 2022-04-26 12:13:16 +02:00
parser.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
probes.go feat: add tracing interceptors to login and oidc (#764) 2020-10-21 10:18:34 +02:00