zitadel/internal/api/grpc/server/middleware
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
..
access_interceptor.go perf: project quotas and usages (#6441) 2023-09-15 16:58:45 +02:00
auth_interceptor_test.go feat(api): new session service (#5801) 2023-05-05 15:34:53 +00:00
auth_interceptor.go feat(api): move resource apis to beta (#6530) 2023-09-13 12:43:01 +00:00
cache_interceptor.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
call_interceptor.go perf: query data AS OF SYSTEM TIME (#5231) 2023-02-27 22:36:43 +01:00
error_interceptor_test.go fix: translation (#647) 2020-08-28 09:44:43 +02:00
error_interceptor.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
instance_interceptor_test.go feat: add quotas (#4779) 2023-02-15 02:52:11 +01:00
instance_interceptor.go feat: add quotas (#4779) 2023-02-15 02:52:11 +01:00
metrics_interceptor.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
mock_test.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
quota_interceptor.go perf: project quotas and usages (#6441) 2023-09-15 16:58:45 +02:00
service_interceptor.go feat: add new api services (#5619) 2023-04-11 15:37:42 +02:00
tracing.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
translation_interceptor.go fix(adminAPI): localize event type (#5059) 2023-01-19 15:50:05 +00:00
translator.go fix: load auth users (#3907) 2022-07-07 14:58:00 +02:00
validation_interceptor.go chore(deps): bump google.golang.org/grpc from 1.40.0 to 1.41.0 (#2427) 2021-09-27 17:14:40 +02:00