open-vault/command/server
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
..
test-fixtures VAULT-1564 report in-flight requests (#13024) 2021-12-08 17:34:42 -05:00
config.go VAULT-1564 report in-flight requests (#13024) 2021-12-08 17:34:42 -05:00
config_custom_response_headers_test.go Customizing HTTP headers in the config file (#12485) 2021-10-13 11:06:33 -04:00
config_oss_test.go Add kms_library configuration stanza (#13352) 2021-12-07 09:58:23 -05:00
config_telemetry_test.go [VAULT-2776] Add prefix_filter option to Vault (#12025) 2021-07-09 14:49:53 -05:00
config_test.go Add support for go-sockaddr templated addresses in config. (#9109) 2021-10-21 10:10:48 -04:00
config_test_helpers.go VAULT-1564 report in-flight requests (#13024) 2021-12-08 17:34:42 -05:00
config_test_helpers_util.go Backport some OSS changes (#10267) 2020-10-29 16:47:34 -07:00
config_util.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
listener.go Migrate to sdk/internalshared libs in go-secure-stdlib (#12090) 2021-07-15 20:17:31 -04:00
listener_tcp.go Migrate to sdk/internalshared libs in go-secure-stdlib (#12090) 2021-07-15 20:17:31 -04:00
listener_tcp_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
listener_test.go VAULT-1564 report in-flight requests (#13024) 2021-12-08 17:34:42 -05:00
server_seal_transit_acc_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00