Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(observability): add MeshGateway dashboard #4555

Merged
merged 7 commits into from
Jul 18, 2022

Conversation

michaelbeaumont
Copy link
Contributor

@michaelbeaumont michaelbeaumont commented Jul 6, 2022

Summary

#3906

Based off the existing Kuma Service dashboard:

gateway-dashboard-1

@michaelbeaumont michaelbeaumont force-pushed the feat/gateway_dashboard branch 3 times, most recently from aee5782 to 08e8417 Compare July 11, 2022 10:17
@michaelbeaumont michaelbeaumont marked this pull request as ready for review July 11, 2022 10:18
@michaelbeaumont michaelbeaumont requested a review from a team as a code owner July 11, 2022 10:18
@michaelbeaumont michaelbeaumont marked this pull request as draft July 11, 2022 11:50
@michaelbeaumont michaelbeaumont force-pushed the feat/gateway_dashboard branch from 08e8417 to 6884dcb Compare July 13, 2022 08:49
@michaelbeaumont michaelbeaumont marked this pull request as ready for review July 13, 2022 08:51
This simplifies the dashboard where otherwise we have to
exclude these clusters in every Prometheus query.

Signed-off-by: Mike Beaumont <[email protected]>
@michaelbeaumont michaelbeaumont force-pushed the feat/gateway_dashboard branch from 6884dcb to 2b26373 Compare July 13, 2022 10:45
@jakubdyszkiewicz
Copy link
Contributor

I found one small bug. If there are no MeshGateway in the mesh, then the dashboard takes into account all dpps
image

Other than that I could not get to work Kubernetes tab, but so is for Kuma Service.

@codecov-commenter
Copy link

Codecov Report

Merging #4555 (817dc8b) into master (8f5d8d7) will increase coverage by 0.03%.
The diff coverage is 81.60%.

@@            Coverage Diff             @@
##           master    #4555      +/-   ##
==========================================
+ Coverage   47.06%   47.09%   +0.03%     
==========================================
  Files         676      676              
  Lines       45089    45153      +64     
==========================================
+ Hits        21219    21266      +47     
- Misses      22007    22017      +10     
- Partials     1863     1870       +7     
Impacted Files Coverage Δ
app/kumactl/cmd/install/install_observability.go 69.60% <71.42%> (+0.10%) ⬆️
pkg/mads/v1/reconcile/snapshot_generator.go 70.21% <71.42%> (-1.22%) ⬇️
app/kuma-dp/pkg/dataplane/metrics/merge.go 87.36% <82.14%> (-0.47%) ⬇️
pkg/mads/v1/generator/assignments.go 89.28% <100.00%> (ø)
pkg/xds/bootstrap/template_v3.go 96.79% <100.00%> (+0.03%) ⬆️
pkg/xds/cache/once/cache.go 82.05% <0.00%> (-7.70%) ⬇️
pkg/plugins/runtime/gateway/route/sorter.go 66.66% <0.00%> (-5.13%) ⬇️
pkg/core/resources/manager/cache.go 85.71% <0.00%> (-2.60%) ⬇️
pkg/xds/generator/direct_access_proxy_generator.go 89.65% <0.00%> (-1.15%) ⬇️
pkg/plugins/leader/postgres/leader_elector.go 89.36% <0.00%> (+6.38%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8f5d8d7...817dc8b. Read the comment docs.

@michaelbeaumont
Copy link
Contributor Author

I'm not super happy with the "don't forget to check the empty string" option but I can't find any Prometheus/Grafana tricks to handle this otherwise

@michaelbeaumont michaelbeaumont merged commit 6c16ad7 into kumahq:master Jul 18, 2022
@michaelbeaumont michaelbeaumont deleted the feat/gateway_dashboard branch July 18, 2022 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants