open-vault/vault
Hridoy Roy 5b63066c2c
Diagnose V0: Storage End to End Checks (#11468)
* Create helpers which integrate with OpenTelemetry for diagnose collection

* Go mod vendor

* consul tls checks

* draft for storage end to end check

* Comments

* Update vault/diagnose/helpers.go

Co-authored-by: swayne275 <swayne275@gmail.com>

* Add unit test/example

* tweak output

* More comments

* add spot check concept

* Get unit tests working on Result structs

* Fix unit test

* Get unit tests working, and make diagnose sessions local rather than global

* Comments

* Last comments

* No need for init

* :|

* Fix helpers_test

* cleaned up chan logic. Tests next.

* fix tests

* remove a comment

* tests

* remove a comment

* cosmetic changes

Co-authored-by: Scott G. Miller <smiller@hashicorp.com>
Co-authored-by: swayne275 <swayne275@gmail.com>
2021-05-02 13:33:13 -07:00
..
activity Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
cluster Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
diagnose Diagnose V0: Storage End to End Checks (#11468) 2021-05-02 13:33:13 -07:00
external_tests Switch to shared raft-boltdb library and add metrics (#11269) 2021-04-26 16:01:26 -07:00
quotas Fix goroutine leak caused by updating rate quotas (#11371) 2021-04-16 14:00:01 -04:00
replication
seal
acl.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
acl_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
acl_util.go
activity_log.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
activity_log_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
activity_log_testing_util.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
activity_log_util.go
audit.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
audit_broker.go
audit_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
audited_headers.go
audited_headers_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
auth.go
auth_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
barrier.go
barrier_access.go
barrier_aes_gcm.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
barrier_aes_gcm_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
barrier_test.go
barrier_view.go
barrier_view_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
barrier_view_util.go
capabilities.go
capabilities_test.go
cluster.go
cluster_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
core.go Add HTTP response headers for hostname and raft node ID (if applicable) (#11289) 2021-04-20 15:25:04 -07:00
core_metrics.go Switch to shared raft-boltdb library and add metrics (#11269) 2021-04-26 16:01:26 -07:00
core_metrics_test.go
core_test.go Create helpers which integrate with OpenTelemetry for diagnose collection (#11454) 2021-04-29 13:32:41 -05:00
core_util.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
cors.go
counters.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
counters_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
deadlock.go
dynamic_system_view.go
dynamic_system_view_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
expiration.go Expiration Manager: Handle Presumed Irrevocable Leases Separately (#11452) 2021-04-29 09:12:02 -06:00
expiration_integ_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
expiration_test.go Expiration Manager: Handle Presumed Irrevocable Leases Separately (#11452) 2021-04-29 09:12:02 -06:00
expiration_util.go
generate_root.go
generate_root_recovery.go
generate_root_test.go
ha.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
ha_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
identity_lookup.go
identity_lookup_test.go
identity_store.go
identity_store_aliases.go
identity_store_aliases_test.go
identity_store_entities.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
identity_store_entities_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
identity_store_group_aliases.go
identity_store_group_aliases_test.go
identity_store_groups.go
identity_store_groups_test.go
identity_store_oidc.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
identity_store_oidc_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
identity_store_oidc_util.go
identity_store_schema.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
identity_store_structs.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
identity_store_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
identity_store_upgrade.go
identity_store_util.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
init.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
init_test.go
keyring.go
keyring_test.go
lock.go
logical_cubbyhole.go Make cubbyhole revocation/tidying compatible with cubbys in namespaces. (#11408) 2021-04-19 17:28:04 -04:00
logical_cubbyhole_test.go
logical_passthrough.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
logical_passthrough_test.go
logical_raw.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
logical_system.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
logical_system_activity.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
logical_system_helpers.go
logical_system_integ_test.go
logical_system_paths.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
logical_system_pprof.go Add support for unauthenticated pprof access on a per-listener basis,… (#11324) 2021-04-19 14:30:59 -04:00
logical_system_quotas.go
logical_system_raft.go Support autopilot when raft is for HA only (#11260) 2021-04-12 09:33:21 -04:00
logical_system_test.go Fix rotate/config unit test for 32 bit yet again (#11491) 2021-04-30 10:31:11 -05:00
logical_system_util.go
mount.go [VAULT-1441] Fix race that allowed remounting on path used by another mount (#11453) 2021-04-24 09:05:41 -07:00
mount_test.go [VAULT-1441] Fix race that allowed remounting on path used by another mount (#11453) 2021-04-24 09:05:41 -07:00
mount_util.go
namespaces.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
plugin_catalog.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
plugin_catalog_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
plugin_reload.go
policy.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
policy_store.go
policy_store_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
policy_store_util.go
policy_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
policy_util.go
raft.go Add HTTP response headers for hostname and raft node ID (if applicable) (#11289) 2021-04-20 15:25:04 -07:00
rekey.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
rekey_test.go
request_forwarding.go Add metrics for requests forwarded by standbys. (#11366) 2021-04-16 14:02:20 -04:00
request_forwarding_rpc.go Support autopilot when raft is for HA only (#11260) 2021-04-12 09:33:21 -04:00
request_forwarding_rpc_util.go
request_forwarding_service.pb.go
request_forwarding_service.proto
request_handling.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
request_handling_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
request_handling_util.go
rollback.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
rollback_test.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
router.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
router_access.go
router_test.go
router_testing.go
seal.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
seal_access.go
seal_autoseal.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
seal_autoseal_test.go
seal_test.go
seal_testing.go
seal_testing_util.go
sealunwrapper.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
sealunwrapper_test.go
testing.go Create helpers which integrate with OpenTelemetry for diagnose collection (#11454) 2021-04-29 13:32:41 -05:00
testing_util.go
token_store.go core/token: fix panic looking up invalid batch tokens (#11415) 2021-04-19 18:26:51 -07:00
token_store_test.go Refactor TestTokenStore_CubbyholeTidy so that it can be tested on ent with a non-root namespace. (#11422) 2021-04-20 14:49:25 -04:00
token_store_util.go
ui.go UI/obscure secret on input (#11284) 2021-04-22 08:58:37 -06:00
ui_test.go
util.go
util_test.go
wrapping.go Run a more strict formatter over the code (#11312) 2021-04-08 09:43:39 -07:00
wrapping_util.go