Commit Graph

96 Commits (23ffa3d3f3d338796a0eac65ead2f732b7ff71ea)

Author SHA1 Message Date
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
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
4 years ago
Matt Keeler 1093212176
Add test to ensure the StopChannelContext works properly
4 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
Matt Keeler 3a46e1d15f
Make PatchSliceOfMaps case insensitive
5 years ago
Hans Hasselberg 2ad0831b34
agent: fewer file local differences between enterprise and oss (#6820) (#6898)
5 years ago
Matt Keeler a704ebe639
Add Namespace support to the API module and the CLI commands (#6874)
5 years ago
Mike Morris 65be58703c
connect: remove managed proxies (#6220)
5 years ago
Alvin Huang ef6b80bab2 resolve circleci config conflicts
5 years ago
Christian Muehlhaeuser 7753b97cc7 Simplified code in various places (#6176)
5 years ago