-
Notifications
You must be signed in to change notification settings - Fork 5.4k
tracing: envoy.reloadable_features.update_grpc_response_error_tag deprecation #23098
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,47 +8,11 @@ licenses(["notice"]) # Apache 2 | |
|
|
||
| envoy_package() | ||
|
|
||
| envoy_cc_test( | ||
| name = "http_tracer_impl_legacy_test", | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What is the difference between
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. runtime feature is enabled in |
||
| srcs = [ | ||
| "http_tracer_impl_test.cc", | ||
| ], | ||
| args = [ | ||
| "--runtime-feature-disable-for-tests=envoy.reloadable_features.update_grpc_response_error_tag", | ||
| ], | ||
| coverage = True, | ||
| deps = [ | ||
| "//source/common/common:base64_lib", | ||
| "//source/common/http:header_map_lib", | ||
| "//source/common/http:headers_lib", | ||
| "//source/common/http:message_lib", | ||
| "//source/common/network:address_lib", | ||
| "//source/common/runtime:runtime_lib", | ||
| "//source/common/tracing:custom_tag_lib", | ||
| "//source/common/tracing:http_tracer_lib", | ||
| "//test/mocks/http:http_mocks", | ||
| "//test/mocks/local_info:local_info_mocks", | ||
| "//test/mocks/router:router_mocks", | ||
| "//test/mocks/runtime:runtime_mocks", | ||
| "//test/mocks/stats:stats_mocks", | ||
| "//test/mocks/thread_local:thread_local_mocks", | ||
| "//test/mocks/tracing:tracing_mocks", | ||
| "//test/test_common:environment_lib", | ||
| "//test/test_common:utility_lib", | ||
| "@envoy_api//envoy/config/core/v3:pkg_cc_proto", | ||
| "@envoy_api//envoy/type/tracing/v3:pkg_cc_proto", | ||
| ], | ||
| ) | ||
|
|
||
| envoy_cc_test( | ||
| name = "http_tracer_impl_test", | ||
| srcs = [ | ||
| "http_tracer_impl_test.cc", | ||
| ], | ||
| args = [ | ||
| "--runtime-feature-override-for-tests=envoy.reloadable_features.update_grpc_response_error_tag", | ||
| ], | ||
| coverage = True, | ||
| deps = [ | ||
| "//source/common/common:base64_lib", | ||
| "//source/common/http:header_map_lib", | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The old logic is that
Now we have enabled the feature, still need the
elseon the top level?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we don't need
elseany more, because the feature is always enabled.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
True. The logic in
elseis actually the old code path which we don't need anymore.