Hridoy Roy
6261afb343
Port: Telemetry For Lease Expiration Times ( #10375 )
...
* port lease metrics
* go mod vendor
* caught a bug
2020-11-13 10:26:58 -08:00
Brian Kassouf
84dbca38a1
Revert "Migrate internalshared out ( #9727 )" ( #10141 )
...
This reverts commit ee6391b691ac12ab6ca13c3912404f1d3a842bd6.
2020-10-13 16:38:21 -07:00
Jeff Mitchell
e6881c8147
Migrate internalshared out ( #9727 )
...
* Migrate internalshared out
* fix merge issue
* fix merge issue
* go mod vendor
Co-authored-by: Brian Kassouf <bkassouf@hashicorp.com>
2020-10-12 11:56:24 -07:00
ncabatoff
b491c6d72a
Fix parsing of seal stanzas that have an array for `purpose` ( #9589 )
...
Hexadecimal integers will be converted to decimal, which is unfortunate but shouldn't have any negative effects other than perhaps confusion in the `vault debug` output.
2020-07-27 16:28:52 -04:00
ncabatoff
bbd991a008
Fix 1.5 regression that meant non-string values in the seal stanza would fail config parsing, preventing startup. ( #9555 )
2020-07-23 13:53:00 -04:00
Mark Gritter
cc6a64d4d8
Replaced ClusterMetricSink's cluster name with an atomic.Value. ( #9252 )
...
* Replaced ClusterMetricSink's cluster name with an atomic.Value.
This should permit go-race tests to pass which seal and unseal
the core.
* Replace metric sink before unseal to avoid data races.
2020-06-18 12:55:50 -05:00
Scott Miller
632c86ecc1
Add new Telemetry config options ( #9238 )
...
* Add new Telemetry config options
Add cluster_name, maximum_gauge_cardinality, and usage_gauge_period
configuration options to the config stanza.
Update unit tests.
Document.
Co-authored-by: Mark Gritter <mgritter@hashicorp.com>
2020-06-17 10:07:33 -05:00
Mark Gritter
ebac0443d5
Configure metrics wrapper with the "global" object, not just the fanout. ( #9099 )
2020-06-16 10:50:24 -05:00
Jeff Mitchell
0b3923c289
Add cors bits into configutil listener ( #9054 )
...
* Add cors config to configutil listener parsing
* Set purposeraw to nil after parsing like other params
* Use canonical mime headers
2020-05-20 21:56:12 -04:00
Jeff Mitchell
41d5727d9d
Port encrypted config shared bits to a separate PR ( #9037 )
...
* Port encrypted config shared bits to a separate PR
* Address feedback
2020-05-19 18:15:30 -04:00
Jeff Mitchell
4f7e98f091
Remove mistaken build flag
2020-05-14 10:44:02 -04:00
Jeff Mitchell
fea001199b
Make aws and transit wrapper funcs a var again
2020-05-14 09:58:03 -04:00
Jeff Mitchell
1d3d89e2aa
Create configutil and move some common config and setup functions there ( #8362 )
2020-05-14 09:19:27 -04:00