Daniel Nephin
738bf9efdc
agent: fix bug with multiple listeners
...
Previously the listener was being passed to a closure in a loop without
capturing the loop variable. The result is only the last listener is
used, so the http/https servers only listen on one address.
This problem is fixed by capturing the variable by passing it into a
function.
2020-11-18 13:03:29 -05:00
hashicorp-ci
b2605d90d2
auto-updated agent/uiserver/bindata_assetfs.go from commit 664f1d9aa
2020-11-18 11:17:06 +00:00
John Cowen
664f1d9aa5
ui: Change title helper to page-title ( #9211 )
2020-11-18 11:11:30 +00:00
John Cowen
7edee36621
ui: Add triple curlies and reformat style attribute ( #9210 )
2020-11-18 11:11:02 +00:00
Daniel Nephin
839429eb40
Merge pull request #9160 from hashicorp/dnephin/go-test-race-in-to-out-list
...
ci: change go-test-race package list to exclude list
2020-11-17 13:13:38 -05:00
Daniel Nephin
a10283a313
acl: remove t.Parallel
...
These tests run faster without it, and it was causing races in
enterprise tests.
2020-11-17 12:37:02 -05:00
Matt Keeler
66fd23d67f
Refactor to call non-voting servers read replicas ( #9191 )
...
Co-authored-by: Kit Patella <kit@jepsen.io>
2020-11-17 10:53:57 -05:00
Kenia
1cacbccb64
ui: Changelog changes ( #9209 )
2020-11-17 10:35:56 -05:00
Matt Keeler
946cc0b82a
[docs] Change links to the DNS information to the right place ( #8675 )
...
The redirects were working in many situations but some (INTERNALS.md) was not. This just flips everything over to using the real link.
2020-11-17 10:03:00 -05:00
Kit Patella
d15b6fddd3
Merge pull request #9198 from hashicorp/mkcp/telemetry/add-all-metric-definitions
...
Add metric definitions for all metrics known at Consul start
2020-11-16 15:54:50 -08:00
Kit Patella
52c53b2c20
changelog component should mention agent not just server
2020-11-16 15:54:24 -08:00
Kit Patella
bd0c7c2cd6
add note about deleting TelemetryConfig.MergeDefaults in the future
2020-11-16 15:53:52 -08:00
hashicorp-ci
56dbabf67b
auto-updated agent/uiserver/bindata_assetfs.go from commit fe728855e
2020-11-16 23:41:31 +00:00
Freddy
fe728855ed
Add DC and NS support for Envoy metrics ( #9207 )
...
This PR updates the tags that we generate for Envoy stats.
Several of these come with breaking changes, since we can't keep two stats prefixes for a filter.
2020-11-16 16:37:19 -07:00
Kit Patella
eda553ef1d
add changelog entry
2020-11-16 15:32:18 -08:00
Kit Patella
8e554ee74b
Merge branch 'mkcp/telemetry/add-all-metric-definitions' of ssh://github.com/hashicorp/consul into mkcp/telemetry/add-all-metric-definitions
2020-11-16 15:26:12 -08:00
Kit Patella
ad4cebc1d8
fix some tests that were broken from the TelemetryConfig change
2020-11-16 15:22:36 -08:00
Kit Patella
fc30f07cc7
linting: sort and group import
2020-11-16 14:17:24 -08:00
Kit Patella
2fe021f03c
update runtime_test to handle PrometheusOpts expiry field change
2020-11-16 14:16:12 -08:00
Matt Keeler
748d56b8ab
Prevent panic if autopilot health is requested prior to leader establishment finishing. ( #9204 )
2020-11-16 17:08:17 -05:00
Kit Patella
49f017bd42
prometheussink has the same number of params again
2020-11-16 14:01:40 -08:00
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
2020-11-16 14:01:12 -08:00
Matt Keeler
a7d504478c
Add changelog entry for namespace licensing fix ( #9203 )
2020-11-16 15:45:55 -05:00
Kit Patella
5e0e4098c9
push prometheus sink definiitons into prometheus.PrometheusOpts
2020-11-16 12:44:47 -08:00
Daniel Nephin
b7367467f6
Merge pull request #9114 from hashicorp/dnephin/filtering-in-stream
...
stream: improve naming of Payload methods
2020-11-16 14:20:07 -05:00
Kit Patella
15af5ead0b
trim help strings to save a few bytes
2020-11-16 11:02:11 -08:00
Kit Patella
3966ecb02f
merge master
2020-11-16 10:46:53 -08:00
hashicorp-ci
a54d1069b3
auto-updated agent/uiserver/bindata_assetfs.go from commit 959974e96
2020-11-16 15:27:40 +00:00
John Cowen
959974e960
ui: Replace NaN and undefined metrics values with `-` ( #9200 )
...
* ui: Add functionality to metrics mocks:
1. More randomness during blocking queries
2. NaN and undefined values that come from prometheus
3. General trivial amends to bring things closer to the style of the
project
* Provider should always provide data as a string or undefined
* Use a placeholder `-` if the metrics endpoint responds with undefined data
2020-11-16 15:22:24 +00:00
Kit Patella
5da2f1efa8
finish adding static server metrics
2020-11-13 16:26:08 -08:00
Luke Kysow
11db2b37c3
Docs for upgrading to CRDs ( #9176 )
...
* Add Upgrading to CRDs docs
2020-11-13 15:19:21 -08:00
Kit Patella
af56f86ad5
Merge pull request #9195 from hashicorp/mkcp/changelog/add-1dot9-metrics-flag-note
...
add note about future metric fixes and deprecations under disable_com…
2020-11-13 14:45:27 -08:00
Kit Patella
23e96f6cfb
Trim to one deprecation entry
2020-11-13 14:31:14 -08:00
Kent 'picat' Gruber
53e0683ae6
Merge pull request #9106 from hashicorp/security-model-docs-revamp
...
Revamp Security Model Documentation
2020-11-13 17:30:24 -05:00
R.B. Boyer
9eb262252a
server: intentions CRUD requires connect to be enabled ( #9194 )
...
Fixes #9123
2020-11-13 16:19:12 -06:00
Kit Patella
b208474572
add note about future metric fixes and deprecations under disable_compat_1.9
2020-11-13 14:16:53 -08:00
Mike Morris
81f8f3cace
ci: reword cherry-picker comment ( #9192 )
2020-11-13 17:14:47 -05:00
Matt Keeler
7f87adbcf4
Remove this constant as it is soon to be changing and we want to prevent backwards compat issues ( #9193 )
2020-11-13 17:09:51 -05:00
Mike Morris
96df6a7bf5
Merge pull request #9155 from hashicorp/release/1.9.0-beta3
...
merge: 1.9.0-beta3
2020-11-13 16:45:50 -05:00
R.B. Boyer
a2e1cbd061
ci: update to go 1.15.5 ( #9187 )
2020-11-13 15:35:33 -06:00
Kit Patella
06d59c03b9
add the service name in the agent rather than in the definitions themselves
2020-11-13 13:18:04 -08:00
R.B. Boyer
c7233ba871
server: remove config entry CAS in legacy intention API bridge code ( #9151 )
...
Change so line-item intention edits via the API are handled via the state store instead of via CAS operations.
Fixes #9143
2020-11-13 14:42:21 -06:00
R.B. Boyer
c52bc632df
server: skip deleted and deleting namespaces when migrating intentions to config entries ( #9186 )
2020-11-13 13:56:41 -06:00
Mike Morris
7af643ac37
ci: update to Go 1.15.4 and alpine:3.12 ( #9036 )
...
* ci: stop building darwin/386 binaries
Go 1.15 drops support for 32-bit binaries on Darwin https://golang.org/doc/go1.15#darwin
* tls: ConnectionState::NegotiatedProtocolIsMutual is deprecated in Go 1.15, this value is always true
* correct error messages that changed slightly
* Completely regenerate some TLS test data
Co-authored-by: R.B. Boyer <rb@hashicorp.com>
2020-11-13 13:02:59 -05:00
hashicorp-ci
fe6b888269
auto-updated agent/uiserver/bindata_assetfs.go from commit 1059a51a3
2020-11-13 16:00:39 +00:00
John Cowen
1059a51a32
ui: Search/sort improvements ( #9183 )
2020-11-13 15:55:40 +00:00
hashicorp-ci
40cef22c17
auto-updated agent/uiserver/bindata_assetfs.go from commit 78b704be8
2020-11-13 15:44:14 +00:00
Kenia
78b704be87
ui: Pass down nspace and dc from Service model down to prometheus request ( #9175 )
...
* Pass down nspace and dc from Service model down to prometheus request
* Reviewing notes fix-ups
* Fix on dc/nspace to send from upstream/downstream card
2020-11-13 10:39:00 -05:00
R.B. Boyer
c003871c54
server: break up Intention.Apply monolithic method ( #9007 )
...
The Intention.Apply RPC is quite large, so this PR attempts to break it down into smaller functions and dissolves the pre-config-entry approach to the breakdown as it only confused things.
2020-11-13 09:15:39 -06:00
Kit Patella
24a2471029
first pass on agent-configured prometheusDefs and adding defs for every consul metric
2020-11-12 18:12:12 -08:00