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(kuma-cp) improve VIP interface logging #2377

Merged
merged 1 commit into from
Jul 17, 2021
Merged

chore(kuma-cp) improve VIP interface logging #2377

merged 1 commit into from
Jul 17, 2021

Conversation

jpeach
Copy link
Contributor

@jpeach jpeach commented Jul 16, 2021

Summary

Improve the VIP entry stringer so that it show the name of the entry
type. This is shown in logs, where having the type name is a lot clearer.

Full changelog

N/A

Issues resolved

N/A

Documentation

N/A

Testing

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

Backwards compatibility

  • Add backport-to-stable label if the code is backwards compatible. Otherwise, list breaking changes.

Improve the VIP entry stringer so that it show the name of the entry
type. This is shown in logs, where having the type name is a lot clearer.

Signed-off-by: James Peach <james.peach@konghq.com>
@jpeach jpeach requested a review from a team as a code owner July 16, 2021 04:38
@codecov-commenter
Copy link

Codecov Report

Merging #2377 (0b2d713) into master (b0c72d1) will increase coverage by 0.40%.
The diff coverage is 25.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2377      +/-   ##
==========================================
+ Coverage   52.13%   52.54%   +0.40%     
==========================================
  Files         874      878       +4     
  Lines       47826    47876      +50     
==========================================
+ Hits        24936    25156     +220     
+ Misses      20865    20670     -195     
- Partials     2025     2050      +25     
Impacted Files Coverage Δ
pkg/dns/vips/interfaces.go 71.42% <25.00%> (-28.58%) ⬇️
api/internal/util/proto/proto.go 70.00% <0.00%> (ø)
...k8s/native/controllers/proxytemplate_controller.go 0.00% <0.00%> (ø)
...kg/plugins/resources/k8s/native/pkg/test/within.go 100.00% <0.00%> (ø)
api/internal/util/proto/types.go 100.00% <0.00%> (ø)
api/observability/v1/mads.pb.go 35.56% <0.00%> (+1.03%) ⬆️
pkg/xds/generator/direct_access_proxy_generator.go 83.90% <0.00%> (+1.14%) ⬆️
api/mesh/v1alpha1/dataplane_helpers.go 80.16% <0.00%> (+1.68%) ⬆️
pkg/mads/v1/client/client.go 43.75% <0.00%> (+2.50%) ⬆️
pkg/core/resources/manager/cache.go 84.41% <0.00%> (+2.59%) ⬆️
... and 9 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 b0c72d1...0b2d713. Read the comment docs.

@jpeach jpeach merged commit 132b4d6 into kumahq:master Jul 17, 2021
@jpeach jpeach deleted the chore/cleanup-vip-interfaces branch July 17, 2021 01:05
mergify bot pushed a commit that referenced this pull request Jul 17, 2021
Improve the VIP entry stringer so that it show the name of the entry
type. This is shown in logs, where having the type name is a lot clearer.

Signed-off-by: James Peach <james.peach@konghq.com>
(cherry picked from commit 132b4d6)
jpeach added a commit that referenced this pull request Jul 18, 2021
Improve the VIP entry stringer so that it show the name of the entry
type. This is shown in logs, where having the type name is a lot clearer.

Signed-off-by: James Peach <james.peach@konghq.com>
(cherry picked from commit 132b4d6)

Co-authored-by: James Peach <james.peach@konghq.com>
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.

None yet

3 participants