112 Commits (c42186f3602433228cb0198b38d82a16083c674e)

Author SHA1 Message Date
R.B. Boyer b60d89e7ef bulk rewrite using this script 3 years ago
Daniel Nephin e8312d6b5a testing: remove unnecessary calls to freeport 3 years ago
Daniel Nephin 5a61893642 testing: use httptest with freeport 3 years ago
Daniel Nephin d795a73f78 testing: use the new freeport interfaces 3 years ago
Daniel Nephin d2274df53f lib/decode: fix hook to work with embedded squash struct 3 years ago
Daniel Nephin baa2b8628e consul: fix data race in leader CA tests 3 years ago
Dhia Ayachi f785c5b332
RPC Timeout/Retries account for blocking requests (#8978) 4 years ago
Matt Keeler da31e0449e Move some things around to allow for license updating via config reload 4 years ago
Daniel Nephin 3782e31a03 lib/ttlcache: never decrease the expiry on update 4 years ago
Daniel Nephin f9cf2ec9ab lib/retry: allow jitter to exceed max wait. 4 years ago
Daniel Nephin 28736e60fd lib/mutex: add mutex with TryLock and update vendor 4 years ago
Daniel Nephin b9e60c0775 testing: skip slow tests with -short 4 years ago
Kit Patella bd0c7c2cd6 add note about deleting TelemetryConfig.MergeDefaults in the future 4 years ago
Kit Patella ad4cebc1d8 fix some tests that were broken from the TelemetryConfig change 4 years ago
Kit Patella 49f017bd42 prometheussink has the same number of params again 4 years ago
Kit Patella b81edac7bb use the MetricsPrefix to set the service name and provide as slice literal to avoid bugs from append modifying its first arg 4 years ago
Kit Patella 5e0e4098c9 push prometheus sink definiitons into prometheus.PrometheusOpts 4 years ago
Kit Patella 24a2471029 first pass on agent-configured prometheusDefs and adding defs for every consul metric 4 years ago
Kit Patella 8993fea163 remove definitions for consul.runtime... metrics - they're prepended with hostnames and won't init 4 years ago
Kit Patella 1c4885c44a add definitions for key metrics. This will not build until we have the definitions patch to go-metrics 4 years ago
Daniel Nephin 0d4fa882b3 lib/ttlcache: unexport key and additional godoc 4 years ago
Daniel Nephin c17baadbf8 lib/ttlcache: add a constant for NotIndexed 4 years ago
Daniel Nephin 6c09ab3dd8 cache: fix a bug with Prepopulate 4 years ago
Daniel Nephin bbb816aa8a lib/ttlcache: extract package from agent/cache 4 years ago
Matt Keeler 38f5ddce2a
Add per-agent reconnect timeouts (#8781) 4 years ago
Kit Patella 7fe2f80b4b add config flag to disable 1.9 metrics backwards compatibility. Add warnings on start and reload on default value 4 years ago
Daniel Nephin e54567223b lib/retry: Refactor to reduce the interface surface 4 years ago
Daniel Nephin 7b4aca2088 lib/retry: export fields 4 years ago
Daniel Nephin ca26dfb4a2 lib/retry: extract a new package from lib 4 years ago
Pierre Cauchois f85fec6365 use errors.As() for wrapped ServerError 4 years ago
Pierre Cauchois 352cf930fc ServerError type check before EOF string comparison 4 years ago
Pierre Cauchois aa1875c3c7 remove t.Parallel() 4 years ago
Pierre Cauchois 0e64d73f83 Add unit tests for isErrEOF() 4 years ago
Pierre Cauchois 012f31fc2d Use errors.Is() in IsErrEOF() 4 years ago
Daniel Nephin 63bad36de7 testing: disable global metrics sink in tests 4 years ago
Daniel Nephin 010a609912 Fix a bunch of unparam lint issues 4 years ago
Matt Keeler 1093212176
Add test to ensure the StopChannelContext works properly 4 years ago
Daniel Nephin d345cd8d30 ci: Add ineffsign linter 4 years ago
Matt Keeler 9f7b22a5eb
Agent Auto Configuration: Configuration Syntax Updates (#8003) 4 years ago
Daniel Nephin 068b43df90 Enable gofmt simplify 5 years ago
Daniel Nephin d11674dbb7 decode: do not modify the source data in HookTranslateKeys 5 years ago
Daniel Nephin 66b72039d4 decode: Only recursively unslice when the target is an interface{} 5 years ago
Daniel Nephin a46ce3d841 decode: recursively unslice opaque config 5 years ago
Daniel Nephin 75cbbe2702 config: add HookWeakDecodeFromSlice 5 years ago
Daniel Nephin 99eb583ebc
Replace goe/verify.Values with testify/require.Equal (#7993) 5 years ago
Daniel Nephin 6a2d7d77c0 config: use the new HookTranslateKeys instead of lib.TranslateKeys 5 years ago
Daniel Nephin 1a039393f5 config: add HookTranslteKeys 5 years ago
R.B. Boyer 77f2e54618
create lib/stringslice package (#7934) 5 years ago
R.B. Boyer ddd0a13e27
agent: handle re-bootstrapping in a secondary datacenter when WAN federation via mesh gateways is configured (#7931) 5 years ago
Kyle Havlovitz 89e6b16815 Filter wildcard gateway services to match listener protocol 5 years ago