open-vault/http
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
..
assets.go Replace go-bindata-assetfs build dependency with native go:embed (#11208) 2021-08-18 11:05:11 -04:00
assets_stub.go Replace go-bindata-assetfs build dependency with native go:embed (#11208) 2021-08-18 11:05:11 -04:00
auth_token_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
cors.go Migrate to sdk/internalshared libs in go-secure-stdlib (#12090) 2021-07-15 20:17:31 -04:00
custom_header_test.go Customizing HTTP headers in the config file (#12485) 2021-10-13 11:06:33 -04:00
forwarded_for_test.go
forwarding_bench_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
forwarding_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
handler.go VAULT-1564 report in-flight requests (#13024) 2021-12-08 17:34:42 -05:00
handler_test.go VAULT-1564 report in-flight requests (#13024) 2021-12-08 17:34:42 -05:00
help.go Reorganize request handling code so that we don't touch storage until we have the stateLock. (#11835) 2021-06-11 13:18:16 -04:00
help_test.go Authenticate to "login" endpoint for non-existent mount path bug (#13162) 2021-11-22 17:06:59 -08:00
http_test.go Customizing HTTP headers in the config file (#12485) 2021-10-13 11:06:33 -04:00
logical.go VAULT-1564 report in-flight requests (#13024) 2021-12-08 17:34:42 -05:00
logical_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
plugin_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
sys_audit_test.go
sys_auth_test.go
sys_config_cors_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
sys_config_state_test.go VAULT-1564 report in-flight requests (#13024) 2021-12-08 17:34:42 -05:00
sys_feature_flags.go Feature flags API (#10613) 2021-01-06 16:05:00 -06:00
sys_generate_root.go Migrate to sdk/internalshared libs in go-secure-stdlib (#12090) 2021-07-15 20:17:31 -04:00
sys_generate_root_test.go Add helper for encoding/decoding root tokens and OTP generation in SDK module (#10504) (#10505) 2021-12-01 08:05:49 -05:00
sys_health.go Migrate to sdk/internalshared libs in go-secure-stdlib (#12090) 2021-07-15 20:17:31 -04:00
sys_health_test.go OSS parts of #1891 (sys/health license addition) (#11676) 2021-05-20 13:32:15 -04:00
sys_hostinfo_test.go
sys_in_flight_requests.go VAULT-1564 report in-flight requests (#13024) 2021-12-08 17:34:42 -05:00
sys_in_flight_requests_test.go VAULT-1564 report in-flight requests (#13024) 2021-12-08 17:34:42 -05:00
sys_init.go
sys_init_test.go
sys_internal_test.go
sys_leader.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
sys_leader_test.go
sys_lease_test.go
sys_metrics.go Customizing HTTP headers in the config file (#12485) 2021-10-13 11:06:33 -04:00
sys_metrics_test.go Authenticate to "login" endpoint for non-existent mount path bug (#13162) 2021-11-22 17:06:59 -08:00
sys_monitor_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
sys_mount_test.go Add a new parameter "allowed_managed_keys" to mount config (#13202) 2021-11-21 19:08:38 -06:00
sys_mounts_test.go
sys_policy_test.go
sys_raft.go Migrate to sdk/internalshared libs in go-secure-stdlib (#12090) 2021-07-15 20:17:31 -04:00
sys_rekey.go
sys_rekey_test.go
sys_rotate_test.go OSS side barrier encryption tracking and automatic rotation (#11007) 2021-02-25 14:27:25 -06:00
sys_seal.go Implement sys/seal-status and sys/leader in system backend (#10725) 2021-01-20 14:04:24 -06:00
sys_seal_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
sys_wrapping_test.go
testing.go Customizing HTTP headers in the config file (#12485) 2021-10-13 11:06:33 -04:00
unwrapping_raw_body_test.go
util.go Upgrade go-limiter to fix building on 1.17 (#12358) 2021-09-01 16:28:47 -05:00