open-vault/sdk/logical
hghaf099 65845c7531
VAULT-1564 report in-flight requests (#13024)
* VAULT-1564 report in-flight requests

* adding a changelog

* Changing some variable names and fixing comments

* minor style change

* adding unauthenticated support for in-flight-req

* adding documentation for the listener.profiling stanza

* adding an atomic counter for the inflight requests
addressing comments

* addressing comments

* logging completed requests

* fixing a test

* providing log_requests_info as a config option to determine at which level requests should be logged

* removing a member and a method from the StatusHeaderResponseWriter struct

* adding api docks

* revert changes in NewHTTPResponseWriter

* Fix logging invalid log_requests_info value

* Addressing comments

* Fixing a test

* use an tomic value for logRequestsInfo, and moving the CreateClientID function to Core

* fixing go.sum

* minor refactoring

* protecting InFlightRequests from data race

* another try on fixing a data race

* another try to fix a data race

* addressing comments

* fixing couple of tests

* changing log_requests_info to log_requests_level

* minor style change

* fixing a test

* removing the lock in InFlightRequests

* use single-argument form for interface assertion

* adding doc for the new configuration paramter

* adding the new doc to the nav data file

* minor fix
2021-12-08 17:34:42 -05:00
..
audit.go Allow plugins to submit audit requests/responses via extended SystemView (#6777) 2019-05-22 18:52:53 -04:00
auth.go Tokenhelper v2 (#6662) 2019-06-14 10:17:04 -04:00
connection.go Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
controlgroup.go Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
error.go backport error changes from ent PR (#12926) 2021-10-26 10:11:24 -06:00
identity.pb.go Local aliases OSS patch (#12848) 2021-10-15 15:20:00 -04:00
identity.proto Local aliases OSS patch (#12848) 2021-10-15 15:20:00 -04:00
lease.go Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
lease_test.go Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
logical.go Add support to parameterize unauthenticated paths (#12668) 2021-10-13 11:51:20 -05:00
logical_storage.go Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
plugin.pb.go Add Custom metadata field to alias (#12502) 2021-09-17 11:03:47 -07:00
plugin.proto Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
request.go VAULT-1564 report in-flight requests (#13024) 2021-12-08 17:34:42 -05:00
response.go VAULT-1564 report in-flight requests (#13024) 2021-12-08 17:34:42 -05:00
response_util.go remove nil response to 404 translation for PatchOperation (#13167) 2021-11-23 13:57:22 -05:00
response_util_test.go Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
secret.go Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
storage.go Exit ScanView if context has been cancelled (#7419) 2019-09-04 09:18:19 -04:00
storage_inmem.go Add user configurable password policies available to secret engines (#8637) 2020-05-27 12:28:00 -06:00
storage_inmem_test.go Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
storage_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
storage_view.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
system_view.go Move sdk/helper/random -> helper/random (#9226) 2020-06-17 14:24:38 -06:00
testing.go Revert "Vault Dependency Upgrades [VAULT-871] (#10903)" (#10939) 2021-02-18 15:40:18 -05:00
token.go VAULT-1564 report in-flight requests (#13024) 2021-12-08 17:34:42 -05:00
token_test.go VAULT-1564 report in-flight requests (#13024) 2021-12-08 17:34:42 -05:00
translate_response.go Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00