-
Notifications
You must be signed in to change notification settings - Fork 327
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
fix(service-insights): Show gateway services in service-insights #2711
Conversation
We were hidding gateway in service-insights. This was unintuitive and also caused problems by not showing up in the serviceMap in grafana Signed-off-by: Charly Molter <charly.molter@konghq.com>
e3118c3
to
2ab144f
Compare
It really feels like this resyncer could be simplified and end up being quicker and require less read/writes. |
@lahabana that would be great, do you have anything particular in mind? |
Codecov Report
@@ Coverage Diff @@
## master #2711 +/- ##
==========================================
+ Coverage 52.20% 52.27% +0.06%
==========================================
Files 865 865
Lines 49297 49299 +2
==========================================
+ Hits 25737 25771 +34
+ Misses 21478 21440 -38
- Partials 2082 2088 +6
Continue to review full report at Codecov.
|
Yes the main thing is that the meshInsight never needs to get recomputed if the serviceInsights haven't changed. So we'd check if any of the serviceInsight change before computing the meshInsight. We'd also wouldn't need to read the serviceInsight again when computing the meshInsight (as we've just computed them). |
Isn't it vice versa? MeshInsight also includes policies, so MeshInsight could change while ServiceInsight is the same |
We were hidding gateway in service-insights. This was unintuitive and also caused problems by not showing up in the serviceMap in grafana Signed-off-by: Charly Molter <charly.molter@konghq.com> (cherry picked from commit 1ec22de)
Yes you are right. Though I believe we'd still avoid some level a recomputation and reading things twice. |
…ahq#2711) We were hidding gateway in service-insights. This was unintuitive and also caused problems by not showing up in the serviceMap in grafana Signed-off-by: Charly Molter <charly.molter@konghq.com>
…ahq#2711) We were hidding gateway in service-insights. This was unintuitive and also caused problems by not showing up in the serviceMap in grafana Signed-off-by: Charly Molter <charly.molter@konghq.com>
Summary
We were hidding gateway in service-insights.
This was unintuitive and also caused problems by not showing
up in the serviceMap in grafana
Full changelog
Testing
Backwards compatibility
backport-to-stable
label if the code is backwards compatible. Otherwise, list breaking changes.