Mike Morris
2317a471b3
changelog: add entries for 1.9.0-beta2 ( #9129 )
2020-11-06 17:18:47 -05:00
Paul Banks
1757ed6326
UI Metrics documentation ( #9048 )
...
* UI Metrics documentation
* Update website/pages/docs/connect/observability/ui-visualization.mdx
* Fix some review comments
* Fix review comments
* Apply suggestions from code review
Co-authored-by: R.B. Boyer <rb@hashicorp.com>
Co-authored-by: R.B. Boyer <rb@hashicorp.com>
2020-11-06 20:32:28 +00:00
R.B. Boyer
9b37ea7dcb
Revert "Add namespace support for metrics (OSS) ( #9117 )" ( #9124 )
...
This reverts commit 06b3b017d326853dbb53bc0ec08ce371265c5ce9.
2020-11-06 10:24:32 -06:00
hashicorp-ci
4db32dd6c5
auto-updated agent/uiserver/bindata_assetfs.go from commit 3a68686cc
2020-11-06 15:04:29 +00:00
John Cowen
7430ba3667
ui: Ensure per service intentions link to the correct place ( #9122 )
...
* ui: Add a separate routeNsme to the per service intention listing
* Add a test to make sure we go through to per service intention form
2020-11-06 14:57:29 +00:00
John Cowen
1b042943e9
ui: Intention "Action change" warning modal ( #9108 )
...
* ui: Add a warning dialog if you go to remove permissions from an intention
* ui: Move modal styles next to component, add warning style
* ui: Move back to using the input name for a selector
* ui: Fixup negative "isn't" step so its optional
* Add warning modal to pageobject
* Fixup test for whether to show the warning modal or not
* Intention change action warning acceptence test
* Add a null/undefined Action
2020-11-06 14:57:19 +00:00
John Cowen
137f7d0a92
ui: Default to glimmer components ( #9121 )
2020-11-06 14:54:44 +00:00
John Cowen
9f938f8d81
ui: Move gitignore file to workspace root and add storybook ignores ( #9120 )
2020-11-06 14:50:39 +00:00
hashicorp-ci
6e87590a9a
auto-updated agent/uiserver/bindata_assetfs.go from commit 848f72f66
2020-11-06 09:31:18 +00:00
John Cowen
6d37c5d446
ui: Move AppError and ErrorState to glimmer components ( #9095 )
...
* ui: move AppError and ErrorState to glimmer components
* yarn.lock changes
2020-11-06 09:24:17 +00:00
Freddy
874efe705f
Add namespace support for metrics (OSS) ( #9117 )
2020-11-05 18:24:29 -07:00
Aaron Lane
031a1a12b1
Merge pull request #9112 from hashicorp/aaron-lane-patch-2
...
Update loadtest AMI name, description
2020-11-05 15:36:22 -05:00
Aaron Lane
d34c14340a
Merge pull request #9111 from hashicorp/aaron-lane-patch-1
...
Link to packer directory from terraform ReadMe
2020-11-05 15:21:34 -05:00
Kit Patella
c5c2e238ab
Merge pull request #9088 from hashicorp/mkcp/telemetry/add-key-metrics-definitions
...
Add prometheus definitions for key metrics.
2020-11-05 12:20:05 -08:00
Kit Patella
b668592326
rollback golang.org/x/sys version to fix distro-build
2020-11-05 12:09:07 -08:00
Aaron Lane
d3bb81830b
Update loadtest AMI name, description
...
This commit updates the Packer properties `ami_name` and `ami_description` for the loadtest image to reflect the image intent.
2020-11-05 15:05:46 -05:00
Aaron Lane
72cc81d85f
Link to packer directory from terraform ReadMe
2020-11-05 15:00:56 -05:00
Kit Patella
a0f64616f7
apply make update-vendor
2020-11-05 11:51:58 -08:00
Kim Ngo
43f3a42a11
Fix NIA doc links ( #9110 )
...
fix config link and anchor
2020-11-05 13:35:57 -06:00
R.B. Boyer
be9122a8c4
agent: sanitize ui metrics proxy header values on agent/self endpoint ( #9104 )
2020-11-05 13:25:27 -06:00
Daniel Nephin
621f1db766
Merge pull request #9073 from hashicorp/dnephin/backport-streaming-namespaces
...
streaming: backport namespace changes
2020-11-05 14:19:10 -05:00
Daniel Nephin
cd220e5d6c
Merge pull request #9061 from hashicorp/dnephin/event-fields
...
stream: support filtering by namespace
2020-11-05 14:18:35 -05:00
hashicorp-ci
70fb9d94d2
auto-updated agent/uiserver/bindata_assetfs.go from commit 6ff094976
2020-11-05 19:12:03 +00:00
Kenia
068af04aa6
ui: Fix up typo for the UI config template url ( #9109 )
2020-11-05 14:04:40 -05:00
Jimmy Merritello
eda072a280
Bump HSM version ( #9102 )
2020-11-05 11:48:12 -06:00
hashicorp-ci
17d1fa5f42
auto-updated agent/uiserver/bindata_assetfs.go from commit 1ef18c4b6
2020-11-05 16:10:14 +00:00
John Cowen
5875e4b15b
ui: Move mocks into the ui project ( #9084 )
...
* Add consul-api-double under api
* Update config to reflect api change
* Remove consul-api-double as a dependency
* api -> mock-api
* Fixup mocks path for staging
2020-11-05 16:03:49 +00:00
Kit Patella
233a552bbe
remove definitions for consul.runtime... metrics - they're prepended with hostnames and won't init
2020-11-04 14:02:47 -08:00
Kit Patella
fbe61ad16c
upgrade go-metrics to latest
2020-11-04 14:02:13 -08:00
R.B. Boyer
c2d167d06e
agent: protect the ui metrics proxy endpoint behind ACLs ( #9099 )
...
This ensures the metrics proxy endpoint is ACL protected behind a
wildcard `service:read` and `node:read` set of rules. For Consul
Enterprise these will need to span all namespaces:
```
service_prefix "" { policy = "read" }
node_prefix "" { policy = "read" }
namespace_prefix "" {
service_prefix "" { policy = "read" }
node_prefix "" { policy = "read" }
}
```
This PR contains just the backend changes. The frontend changes to
actually pass the consul token header to the proxy through the JS plugin
will come in another PR.
2020-11-04 12:50:03 -06:00
hashicorp-ci
6645dfcbb1
auto-updated agent/uiserver/bindata_assetfs.go from commit 0f6c0a5c1
2020-11-04 09:37:51 +00:00
John Cowen
2cb057ac91
ui: Metrics - Provide a fetch-like http client that automatically adds the current ACL token ( #9094 )
...
* Remove local httpGet and shim one in from options
* Add custom httpGet to pass through to provider
* Make a fetch wrapper that adds your token
* Pass the fetch like fetchWithToken wrapper through to the provider
* Fix up httpGet to encode query params again and use fetch-like
2020-11-04 09:33:37 +00:00
hashicorp-ci
ebe0ffce30
auto-updated agent/uiserver/bindata_assetfs.go from commit d5d4155e1
2020-11-03 14:14:58 +00:00
John Cowen
17333e90ce
ui: Storybook Install ( #9049 )
...
* ui: Install storybook into the main project
* Add a basic story for a notice
* Remove empty dependencies
2020-11-03 14:09:39 +00:00
Kit Patella
7f362b2d09
add definitions for key metrics. This will not build until we have the definitions patch to go-metrics
2020-11-02 15:01:00 -08:00
R.B. Boyer
5c6d322872
use the docker proxy for more envoy integration test containers ( #9085 )
2020-11-02 14:52:33 -06:00
R.B. Boyer
b8a623d3d2
wait_for_namespace should take two args ( #9086 )
2020-11-02 14:31:19 -06:00
hashicorp-ci
0d8a30d8e3
auto-updated agent/uiserver/bindata_assetfs.go from commit 56c2ff56e
2020-11-02 18:43:31 +00:00
Kenia
10aa848005
ui: Update to not return metrics for ingress gateways ( #9081 )
2020-11-02 13:38:43 -05:00
Alvin Huang
102aefdb49
use hashicorp docker mirror in envoy helper ( #9080 )
2020-11-02 11:37:03 -06:00
R.B. Boyer
cf5e9872ce
fix envoy integ test wait_for_namespace to actually work on CI ( #9082 )
2020-11-02 11:14:48 -06:00
hashicorp-ci
0fa484ae8f
auto-updated agent/uiserver/bindata_assetfs.go from commit bf32a1799
2020-11-02 16:11:45 +00:00
John Cowen
bc4d1f9b65
ui: Remove string casting when passing index/checked for dropmenus ( #9077 )
...
* ui: Remove string casting when passing index/checked
* Check for e.target
2020-11-02 16:07:08 +00:00
hashicorp-ci
052303f0fa
auto-updated agent/uiserver/bindata_assetfs.go from commit 314eeda95
2020-11-02 14:40:27 +00:00
John Cowen
a4f6313aa5
ui: Use eslint vs ember-cli-lint, sass vs dart-sass ( #9078 )
...
These two dependency changes means that @hashicorp/pds-ember can be
installed and used without any build/dependency issues
2020-11-02 14:35:10 +00:00
Alvin Huang
d6652b0bc9
use hashicorp docker mirror to prevent rate limit ( #9070 )
2020-10-30 17:59:13 -04:00
R.B. Boyer
c8c87ec317
agent: introduce path allow list for requests going through the metrics proxy ( #9059 )
...
Added a new option `ui_config.metrics_proxy.path_allowlist`. This defaults to `["/api/v1/query", "/api/v1/query_range"]` when the metrics provider is set to `prometheus`.
Requests that do not use one of the allow-listed paths (via exact match) get a 403 Forbidden response instead.
2020-10-30 16:49:54 -05:00
Daniel Nephin
8a017c4f43
structs: add a namespace test for CheckServiceNode.CanRead
2020-10-30 15:07:04 -04:00
Daniel Nephin
78260952b0
cache-type: use namespace in tests
...
to verify that the namespace is passed through correctly to the server.
2020-10-30 15:07:04 -04:00
Daniel Nephin
f6b629852f
state: test EventPayloadCheckServiceNode.FilterByKey
...
Also fix a bug in that function when only one of key or namespace were the empty string.
2020-10-30 14:35:57 -04:00