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

chore(config): remove ability to disable insights #3501

Merged
merged 2 commits into from
Dec 14, 2021

Conversation

lahabana
Copy link
Contributor

Summary

remove kuma.metrics.dataplane.enabled and kuma.metrics.zone.enabled as insights are required internally anyway.

Issues resolved

Fix #2565

Documentation

  • config are not updated

Testing

  • Unit tests
  • [ ] E2E tests
  • [ ] Manual testing on Universal
  • [ ] Manual testing on Kubernetes

Backwards compatibility

  • Update UPGRADE.md with any steps users will need to take
    when upgrading.
  • [x] Add backport-to-stable label if the code is backwards compatible. Otherwise, list breaking changes. BREAKING CHANGE: it's now impossible to disable insights and the related configuration was removed

remove `kuma.metrics.dataplane.enabled` and `kuma.metrics.zone.enabled`
as insights are required internally anyway.

Fix kumahq#2565

BREAKING CHANGE: it's now impossible to disable insights and the related configuration was removed

Signed-off-by: Charly Molter <[email protected]>
@lahabana lahabana requested a review from a team as a code owner December 13, 2021 18:00
@codecov-commenter
Copy link

Codecov Report

Merging #3501 (6cce909) into master (b41b813) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3501      +/-   ##
==========================================
- Coverage   51.67%   51.66%   -0.02%     
==========================================
  Files         916      916              
  Lines       55350    55342       -8     
==========================================
- Hits        28603    28591      -12     
- Misses      24460    24473      +13     
+ Partials     2287     2278       -9     
Impacted Files Coverage Δ
pkg/config/app/kuma-cp/config.go 51.11% <ø> (-0.72%) ⬇️
...apis/dataplaneinsight/dataplane_insight_manager.go 64.00% <100.00%> (+4.74%) ⬆️
...zoneingressinsight/zone_ingress_insight_manager.go 64.00% <100.00%> (+4.74%) ⬆️
.../managers/apis/zoneinsight/zone_insight_manager.go 64.00% <100.00%> (+4.74%) ⬆️
pkg/insights/components.go 70.00% <0.00%> (-30.00%) ⬇️
pkg/events/eventbus.go 85.18% <0.00%> (-7.41%) ⬇️
pkg/core/resources/manager/cache.go 83.11% <0.00%> (-2.60%) ⬇️
pkg/insights/resyncer.go 71.16% <0.00%> (-2.46%) ⬇️
pkg/xds/generator/direct_access_proxy_generator.go 85.88% <0.00%> (+1.17%) ⬆️
... and 3 more

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 b41b813...6cce909. Read the comment docs.

Signed-off-by: Charly Molter <[email protected]>
@lahabana lahabana merged commit d76c44d into kumahq:master Dec 14, 2021
@lahabana lahabana deleted the fix2565 branch March 29, 2024 12:42
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.

Remove ability to disable Insights
3 participants