Commit Graph

102 Commits (a7a56ca39c4335c38f2e707585b74a8e4e99f084)

Author SHA1 Message Date
Daniel Nephin 931023fc70
Merge pull request #8698 from pierreca/fix-iserreof
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
Kit Patella adeabf2399
Merge pull request #8877 from hashicorp/mkcp/telemetry/consul.api.http
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 a891ee8428
Merge pull request #8176 from hashicorp/dnephin/add-linter-unparam-1
4 years ago
Daniel Nephin 010a609912 Fix a bunch of unparam lint issues
5 years ago
Matt Keeler 1093212176
Add test to ensure the StopChannelContext works properly
5 years ago
Daniel Nephin 5afcf5c1bc
Merge pull request #8034 from hashicorp/dnephin/add-linter-staticcheck-4
5 years ago
Daniel Nephin d345cd8d30 ci: Add ineffsign linter
5 years ago
Daniel Nephin a9851e1812
Merge pull request #8070 from hashicorp/dnephin/add-gofmt-simplify
5 years ago
Matt Keeler 9f7b22a5eb
Agent Auto Configuration: Configuration Syntax Updates (#8003)
5 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 4f2bff174d
Merge pull request #7963 from hashicorp/dnephin/replace-lib-translate-keys
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
R.B. Boyer 5f1518c37c
cli: fix usage of gzip.Reader to better detect corrupt snapshots during save/restore (#7697)
5 years ago
R.B. Boyer 6adad71125
wan federation via mesh gateways (#6884)
5 years ago
Matt Keeler d5f9268222
ACL enforcement for the agent/health/services endpoints (#7191)
5 years ago
R.B. Boyer cf29bd4dcf
cli: improve the file safety of 'consul tls' subcommands (#7186)
5 years ago