Commit Graph

2785 Commits (ce1deae3c8c95b6f02b78d3f9c7cf2fbcd4cedd3)

Author SHA1 Message Date
Matt Keeler 66fd23d67f
Refactor to call non-voting servers read replicas (#9191)
4 years ago
Kit Patella d15b6fddd3
Merge pull request #9198 from hashicorp/mkcp/telemetry/add-all-metric-definitions
4 years ago
hashicorp-ci 56dbabf67b auto-updated agent/uiserver/bindata_assetfs.go from commit fe728855e
4 years ago
Freddy fe728855ed
Add DC and NS support for Envoy metrics (#9207)
4 years ago
Kit Patella 8e554ee74b Merge branch 'mkcp/telemetry/add-all-metric-definitions' of ssh://github.com/hashicorp/consul into mkcp/telemetry/add-all-metric-definitions
4 years ago
Kit Patella ad4cebc1d8 fix some tests that were broken from the TelemetryConfig change
4 years ago
Kit Patella fc30f07cc7
linting: sort and group import
4 years ago
Kit Patella 2fe021f03c update runtime_test to handle PrometheusOpts expiry field change
4 years ago
Matt Keeler 748d56b8ab
Prevent panic if autopilot health is requested prior to leader establishment finishing. (#9204)
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
Daniel Nephin b7367467f6
Merge pull request #9114 from hashicorp/dnephin/filtering-in-stream
4 years ago
Kit Patella 15af5ead0b trim help strings to save a few bytes
4 years ago
Kit Patella 3966ecb02f merge master
4 years ago
hashicorp-ci a54d1069b3 auto-updated agent/uiserver/bindata_assetfs.go from commit 959974e96
4 years ago
Kit Patella 5da2f1efa8 finish adding static server metrics
4 years ago
Kyle Havlovitz 16e95f1d7b Reorganize some CA manager code for correctness/readability
4 years ago
Kyle Havlovitz 6fba82a4fa connect: Add CAManager for synchronizing CA operations
4 years ago
Kyle Havlovitz af34b26221 connect: Add logic for updating secondary DC intermediate on config set
4 years ago
R.B. Boyer 9eb262252a
server: intentions CRUD requires connect to be enabled (#9194)
4 years ago
Kit Patella 06d59c03b9 add the service name in the agent rather than in the definitions themselves
4 years ago
R.B. Boyer c7233ba871
server: remove config entry CAS in legacy intention API bridge code (#9151)
4 years ago
R.B. Boyer c52bc632df
server: skip deleted and deleting namespaces when migrating intentions to config entries (#9186)
4 years ago
Mike Morris 7af643ac37
ci: update to Go 1.15.4 and alpine:3.12 (#9036)
4 years ago
hashicorp-ci fe6b888269 auto-updated agent/uiserver/bindata_assetfs.go from commit 1059a51a3
4 years ago
hashicorp-ci 40cef22c17 auto-updated agent/uiserver/bindata_assetfs.go from commit 78b704be8
4 years ago
R.B. Boyer c003871c54
server: break up Intention.Apply monolithic method (#9007)
4 years ago
Kit Patella 24a2471029 first pass on agent-configured prometheusDefs and adding defs for every consul metric
4 years ago
Daniel Nephin a397ec85eb
Merge pull request #9162 from hashicorp/dnephin/fix-grpc-metrics
4 years ago
hashicorp-ci 1cedf812e1 auto-updated agent/uiserver/bindata_assetfs.go from commit 6b2970402
4 years ago
R.B. Boyer 61eac21f1a
agent: return the default ACL policy to callers as a header (#9101)
4 years ago
hashicorp-ci 4016918434 auto-updated agent/uiserver/bindata_assetfs.go from commit 7243f1f4f
4 years ago
Daniel Nephin b27457dac8 ci: go-test-race switch to exclude list
4 years ago
Daniel Nephin 1a137c29d6 grpc: fix grpc metrics
4 years ago
Matt Keeler 7ef9b04f90
Add a CLI command for retrieving the autopilot configuration. (#9142)
4 years ago
hashicorp-ci 848571a73a auto-updated agent/uiserver/bindata_assetfs.go from commit 6423a2c10
4 years ago
Matt Keeler 71da0209bf
Add a paramter in state store methods to indicate whether a resource insertion is from a snapshot restoration (#9156)
4 years ago
hashicorp-ci 37b1ab7f49 auto-updated agent/uiserver/bindata_assetfs.go from commit e1d977138
4 years ago
Daniel Nephin 3760e3d12d
Merge pull request #9149 from joel0/wrap-errors
4 years ago
Daniel Nephin 45a9dd59b5
Merge pull request #8976 from joel0/wrap-eof
4 years ago
Joel May f600285eb4 Use error wrapping to preserve error type info
4 years ago
hashicorp-ci 77451d944e auto-updated agent/uiserver/bindata_assetfs.go from commit e18d8e299
4 years ago
hashicorp-ci 8f834c2d21 auto-updated agent/uiserver/bindata_assetfs.go from commit fb6202929
4 years ago
hashicorp-ci 031ab3f44f auto-updated agent/uiserver/bindata_assetfs.go from commit c8e40ee0d
4 years ago
Matt Keeler a3a653342b
Fix a bunch of linter warnings
4 years ago
Matt Keeler c048e86bb2
Switch to using the external autopilot module
4 years ago
hashicorp-ci 7a2c6dfd62 auto-updated agent/uiserver/bindata_assetfs.go from commit 5c0ec13fb
4 years ago
hashicorp-ci 908574058e auto-updated agent/uiserver/bindata_assetfs.go from commit d9672bca8
4 years ago
Mike Morris 75019baadd
chore: upgrade to gopsutil/v3 (#9118)
4 years ago
Daniel Nephin fb70c8bac2 stream: document that Payload must be immutable
4 years ago
R.B. Boyer 8baf158ea8
Revert "Add namespace support for metrics (OSS) (#9117)" (#9124)
4 years ago
hashicorp-ci cf537ac2f5 auto-updated agent/uiserver/bindata_assetfs.go from commit 3a68686cc
4 years ago
hashicorp-ci 24bc8451d5 auto-updated agent/uiserver/bindata_assetfs.go from commit 848f72f66
4 years ago
Freddy 06b3b017d3
Add namespace support for metrics (OSS) (#9117)
4 years ago
Daniel Nephin 43af0ba7a3 stream: rename FilterByKey
4 years ago
Daniel Nephin 868cfe1eac stream: Add HasReadPermission to Payload
4 years ago
Daniel Nephin 36202f7938 stream: move event filtering to PayloadEvents
4 years ago
Daniel Nephin 79b5ca1ce6 stream: Remove unused method
4 years ago
R.B. Boyer 8e616a93c1
agent: sanitize ui metrics proxy header values on agent/self endpoint (#9104)
4 years ago
Daniel Nephin a33c50ef0d
Merge pull request #9073 from hashicorp/dnephin/backport-streaming-namespaces
4 years ago
Daniel Nephin c82f6ef2d8
Merge pull request #9061 from hashicorp/dnephin/event-fields
4 years ago
hashicorp-ci 977297390c auto-updated agent/uiserver/bindata_assetfs.go from commit 6ff094976
4 years ago
hashicorp-ci 9d15348565 auto-updated agent/uiserver/bindata_assetfs.go from commit 1ef18c4b6
4 years ago
R.B. Boyer 6ba776b4f3
agent: protect the ui metrics proxy endpoint behind ACLs (#9099)
4 years ago
hashicorp-ci a2315bc839 auto-updated agent/uiserver/bindata_assetfs.go from commit 0f6c0a5c1
4 years ago
hashicorp-ci 1a5d4cfe43 auto-updated agent/uiserver/bindata_assetfs.go from commit d5d4155e1
4 years ago
hashicorp-ci 738ff1801f auto-updated agent/uiserver/bindata_assetfs.go from commit 56c2ff56e
4 years ago
hashicorp-ci c28f489a9a auto-updated agent/uiserver/bindata_assetfs.go from commit bf32a1799
4 years ago
hashicorp-ci 907c4ad789 auto-updated agent/uiserver/bindata_assetfs.go from commit 314eeda95
4 years ago
R.B. Boyer a66c4591d7
agent: introduce path allow list for requests going through the metrics proxy (#9059)
4 years ago
Daniel Nephin b532e092dc structs: add a namespace test for CheckServiceNode.CanRead
4 years ago
Daniel Nephin 9b2fae9bac cache-type: use namespace in tests
4 years ago
Daniel Nephin b95b14e168 state: test EventPayloadCheckServiceNode.FilterByKey
4 years ago
Daniel Nephin 56d6079da3 stream: Add tests for filterByKey with namespace
4 years ago
Daniel Nephin 2c00045161 stream: Move FilterByKey events to a table
4 years ago
Daniel Nephin 43c5803a25 state: use enterprise meta for creating events
4 years ago
Daniel Nephin 0ad2406d7c stream: include the namespace in the snap cache key
4 years ago
Daniel Nephin c42fe5ae43 subscribe: set the request namespace
4 years ago
hashicorp-ci b3bf1229ac auto-updated agent/uiserver/bindata_assetfs.go from commit cf2cfbaf2
4 years ago
R.B. Boyer fa4b0854fb
state: ensure we unblock intentions queries upon the upgrade to config entries (#9062)
4 years ago
R.B. Boyer b24b4169e1 restore prior signature of test helper so enterprise compiles
4 years ago
hashicorp-ci 01dbf43fb1 auto-updated agent/uiserver/bindata_assetfs.go from commit 1d6961248
4 years ago
Michael Montgomery 5b6ac035ff Resolves #6074. Adds new option to configure HTTP Server's MaxHeaderBytes with option `-http-max-header-bytes`
4 years ago
Daniel Nephin a5dd2001cf stream: remove Event.Key
4 years ago
Daniel Nephin 1c094da40d state: use go-cmp for comparison
4 years ago
Daniel Nephin 68342a0cb5 proto: remove Event.Key field
4 years ago
Daniel Nephin 9a1e845be8 proto: remove Event.Namespace field
4 years ago
Daniel Nephin 3dfb7c224b stream: Use a no-op event publisher if streaming is disabled
4 years ago
Daniel Nephin 23eee604c9 store: use a ReadDB for snapshots
4 years ago
Daniel Nephin 7b9ee25956
Merge pull request #9026 from hashicorp/dnephin/streaming-without-cache-query-param
4 years ago
Daniel Nephin 477d665309
Merge pull request #8618 from hashicorp/dnephin/remove-txn-readtxn
4 years ago
Kyle Havlovitz 9f893307de
Merge pull request #9053 from hashicorp/vault-token-lookupself
4 years ago
Daniel Nephin f0ac093fef agent/grpc: add connection count metrics
4 years ago
Daniel Nephin 5319ba02b0 agent/grpc: rename metrics
4 years ago
Daniel Nephin c82d6aa4ff
Merge pull request #8961 from hashicorp/dnephin/grpc-resolve-node-id
4 years ago
Daniel Nephin 74ac34e358
Merge pull request #8998 from hashicorp/dnephin/lib-ttlcache
4 years ago
Daniel Nephin 0f81915495
Merge pull request #8987 from hashicorp/dnephin/stream-filter
4 years ago
Daniel Nephin 8bcd5040c7 agent/grpc: Add an integration test for ClientPool with TLS
4 years ago
Daniel Nephin 8a785a351c agent/grpc: pass metrics to constructor
4 years ago
Daniel Nephin d19657404f agent/grpc: fix a flaky test by performing more retries
4 years ago
Daniel Nephin df405ac978 agent/grpc: remove misleading warnings from test output
4 years ago
Daniel Nephin e101aa8a74 agent/grpc: fix a flake in TestHandler_EmitsStats
4 years ago
Daniel Nephin 19da9c3a9b agent/grpc: use a separate channel for closing the Accept
4 years ago
Daniel Nephin d8299670cc agent/grpc/resolver: namespace the server ID with the DC name
4 years ago
Kyle Havlovitz f700a5707b connect: Use the lookup-self endpoint for Vault token
4 years ago
hashicorp-ci bea3d0fd96 auto-updated agent/uiserver/bindata_assetfs.go from commit f4208b5fb
4 years ago
hashicorp-ci 7a1538f747 auto-updated agent/uiserver/bindata_assetfs.go from commit 30da884d5
4 years ago
hashicorp-ci b6113eba09 auto-updated agent/uiserver/bindata_assetfs.go from commit ed6a2c150
4 years ago
hashicorp-ci 6c39fcecf3 auto-updated agent/uiserver/bindata_assetfs.go from commit 827e53694
4 years ago
hashicorp-ci 5460744a95 auto-updated agent/uiserver/bindata_assetfs.go from commit 52d7283cd
4 years ago
Paul Banks 52d7283cd6
UI metrics provider dc (#9001)
4 years ago
hashicorp-ci f585db82cf auto-updated agent/uiserver/bindata_assetfs.go from commit c4f027fa0
4 years ago
Daniel Nephin bd44952c2e streaming: disable streaming when requesting connect events
4 years ago
Daniel Nephin c398a6b272 state: disable streaming connect topic
4 years ago
hashicorp-ci 9772c12426 auto-updated agent/uiserver/bindata_assetfs.go from commit 948917c6b
4 years ago
Daniel Nephin 853667e7d8 health: change the name of UseStreamingBackend config
4 years ago
Daniel Nephin a62dcc9bfe health: use streaming, even when cache=1 is not set
4 years ago
R.B. Boyer 58387fef0a
server: config entry replication now correctly uses namespaces in comparisons (#9024)
4 years ago
Daniel Nephin 0f1fb24d19 state: convert the remaining functions to ReadTxn
4 years ago
Daniel Nephin 8bd1a2cd16
Merge pull request #8975 from hashicorp/dnephin/stream-close-on-unsub
4 years ago
Freddy 9c04cbc40f
Add HasExact to topology endpoint (#9010)
4 years ago
hashicorp-ci 46071cbb03 auto-updated agent/uiserver/bindata_assetfs.go from commit eedee07e7
4 years ago
hashicorp-ci e236a58dba auto-updated agent/uiserver/bindata_assetfs.go from commit 7559f64d0
4 years ago
hashicorp-ci 74b8c024e8 auto-updated agent/uiserver/bindata_assetfs.go from commit 2a8a80638
4 years ago
hashicorp-ci a751688bc9 auto-updated agent/uiserver/bindata_assetfs.go from commit 45554e4e9
4 years ago
R.B. Boyer a2c50d3303
connect: add support for envoy 1.16.0, drop support for 1.12.x, and bump point releases as well (#8944)
4 years ago
Daniel Nephin 3c52f3854b
Merge pull request #8973 from hashicorp/dnephin/resolver-balance
4 years ago
Daniel Nephin fb57d9b26a stream: close the subscription on Unsubscribe
4 years ago
Daniel Nephin 3a55c30a05
Merge pull request #8924 from ShimmerGlass/fix-sidecar-deregister-after-restart
4 years ago
Daniel Nephin d4ae586ccb
Merge pull request #9004 from hashicorp/dnephin/dns-small-cleanup-1
4 years ago
Daniel Nephin 733ce9ad4a
Merge pull request #8970 from hashicorp/dnephin/resolver-balance-test
4 years ago
Daniel Nephin 8b601fdcac
Merge pull request #8771 from amenzhinsky/fix-grpc-use-tls-mapping
4 years ago
Daniel Nephin 9b1944dae0 dns: remove goto INVALID and a naked return
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
Daniel Nephin c4122edd22 cache: export ExpiryHeap
4 years ago
Daniel Nephin 343d133183 cache: Refactor heap.notify to make it more explicit.
4 years ago
Daniel Nephin 499f2822cf cache: Move more of the expiryLoop into the Heap
4 years ago
Daniel Nephin 2cdc90e01b cache: extract cache eviction heap
4 years ago
Daniel Nephin 3c8929c7e1 streaming: apply filter to a single item
4 years ago
hashicorp-ci 6b68e1c997 auto-updated agent/uiserver/bindata_assetfs.go from commit 2773daedc
4 years ago
hashicorp-ci 13c06ba8bc auto-updated agent/uiserver/bindata_assetfs.go from commit b24c2227d
4 years ago
hashicorp-ci 6513faf14c auto-updated agent/uiserver/bindata_assetfs.go from commit 02dcd422f
4 years ago
hashicorp-ci 8ff996145a auto-updated agent/uiserver/bindata_assetfs.go from commit bf8bb7415
4 years ago
Joel May 8c6d6648cd Wrap rpc error object
4 years ago
Daniel Nephin 0003720f78 agent/router: refactor calculation of delay between rebalances.
4 years ago
Daniel Nephin 119c446cf2 agent/router: Add bounds test cases
4 years ago
Daniel Nephin 12e174900b router: organize the test by number of servers
4 years ago