Yousuk Seung
b98f527260
Revert "Revert "Revert "Revert "server: introduce ServerMetricRecorde… ( #32301 )
...
* Revert "Revert "Revert "Revert "server: introduce ServerMetricRecorder API and move per-call reporting from a C++ interceptor to a C-core filter (#32106 )" (#32272 )" (#32279 )" (#32293 )"
This reverts commit 1f960697c5
.
* Do not create CallMetricRecorder if call is null.
2 years ago
Craig Tiller
1f960697c5
Revert "Revert "Revert "server: introduce ServerMetricRecorder API and move per-call reporting from a C++ interceptor to a C-core filter ( #32106 )" ( #32272 )" ( #32279 )" ( #32293 )
...
This reverts commit 4475e74c6a
.
2 years ago
Yousuk Seung
4475e74c6a
Revert "Revert "server: introduce ServerMetricRecorder API and move per-call reporting from a C++ interceptor to a C-core filter ( #32106 )" ( #32272 )" ( #32279 )
...
* Revert "Revert "server: introduce ServerMetricRecorder API and move per-call reporting from a C++ interceptor to a C-core filter (#32106 )" (#32272 )"
This reverts commit deb1e25543
.
* Fix by caching call metric recording stuff in async request
PR #32106 caused msan errors in some tests while de-referencing the
server object where async calls are active after the server is
destroyed. Instead cache the ServerMetricRecorder pointer.
* copyright headers fixed
* clang fixes.
2 years ago
Yijie Ma
08555c8723
Add enforcement for cpp-style comment license in check_copyright.py ( #32273 )
...
* enforce cpp style comment copyright license in check_copyright.py
also add functionality to fix(replace) c-style comment with cpp style
comment
* fix tools/codegen/core/gen_stats_data.py
* review
2 years ago
Xuan Wang
deb1e25543
Revert "server: introduce ServerMetricRecorder API and move per-call reporting from a C++ interceptor to a C-core filter ( #32106 )" ( #32272 )
...
This reverts commit c7f641da0d
.
2 years ago
Yousuk Seung
c7f641da0d
server: introduce ServerMetricRecorder API and move per-call reporting from a C++ interceptor to a C-core filter ( #32106 )
...
* backend metric sampling
* Comments addressed.
* More comments addressed.
* Pushing changes left behind locally.
* Removed empty lines
* Update OrcaService to use ServerMetricRecorder (no named metrics yet)
* Comments addressed.
* More comments addressed
* More comments addressed.
* Comments fixed
* Comments addressed.
* Test fixed
* make seq returned always up-to-date
* skip atomic load when not cached
* Fixed ABSL_GUARDED_BY
* Comments addressed except client_lb_end2end_test
* test updated
* Comments addressed
* BUILD fix.
* BackendMetricDataState moved to a separate header
* comments addressed
* Fixed clang and buildifier errors
* More sanity check errors fixed.
* Fixed xds tests
* Ran generate_projects.sh
* Comments addressed
* comments addressed.
* generate project
* Build fixed
* generate project
* sanity check errors fixed
* test fixed
* Backup poller period override moved to main()
* Also move cfstream override
* Clang fixes, sanitize
* generate_projects.sh
* portable print format fix
* Removed outdated comment
2 years ago
Craig Tiller
7b02b7c253
[stats] Add experiment to use transport reported request latency whenever available ( #32168 )
...
* [stats] Add experiment to use transport reported request latency whenever available
* redux: add a new metric
* review-feedback
* Automated change: Fix sanity tests
* fix
* fix
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2 years ago
Yash Tibrewal
05491fb2f6
Gcp Observabiliy : Add constant labels support for stats and tracing ( #32128 )
...
* Gcp Observabiliy : Add constant labels support for stats and tracing
* Register GCP Observability labels
* sanity
* Fix build for CI
* TEST_TAG_KEY fix
* Remove duplicitous constant label setting
2 years ago
Jan Tattermusch
7fd808f6f9
Bump version to 1.53.0-dev (on master branch) ( #32086 )
...
* bump version to 1.53.0-dev
* regenerate projects
2 years ago
Yousuk Seung
6b31b8d346
Add MakeChannelArgumentOption() for void* ( #32096 )
2 years ago
Yash Tibrewal
75f2a2c1c6
GCP Observability: Client attempt top latency ( #32064 )
2 years ago
Mark D. Roth
b0d7131ab3
WRR: plumb qps in backend metric data ( #31903 )
...
* plumb qps in backend metric data
* pull in updated orca proto
* gen_upb_api
* Automated change: Fix sanity tests
Co-authored-by: markdroth <markdroth@users.noreply.github.com>
2 years ago
Yijie Ma
f99b8b5bc4
Convert c-style comments to C++-style comments ( #31923 )
...
* baseline
* fix clang-tidy
* manually revert these files
* manually fixup at eof
* revert 2 more files
* change check_deprecated_grpc++.py
* change end2end_defs.include template
* fix check_include_guards.py
* untrack tools/distrib/python/convert_cstyle_comments_to_cpp.py
not yet ready to be submitted
* fix
yapf check_include_guards.py
remove a space...
* fix version.cc.template
* fix version_info.h.template
2 years ago
Yash Tibrewal
3683ff924b
GCP Observability: Add server latency metric ( #31900 )
2 years ago
Cheng-Yu Chung
1b05576aa3
[cleanups] Clean up `GrpcLibraryInitializer` ( #31894 )
...
* Clean up `GrpcLibraryInitializer`
* Update
* Automated change: Fix sanity tests
2 years ago
Yash Tibrewal
6a97f492ff
Add method to add annotations to call tracer ( #31901 )
2 years ago
Yash Tibrewal
5100b33e0e
GCP Observability: Add payload metrics ( #31899 )
2 years ago
Yash Tibrewal
a0f00f0956
GCP Observability: Fix view names for started and completed rpcs ( #31898 )
2 years ago
Cheng-Yu Chung
b887534111
[cleanups] Remove `include/grpc/impl/codegen/propagation_bits.h` ( #31870 )
...
* Remove `include/grpc/impl/codegen/propagation_bits.h`
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
2 years ago
Cheng-Yu Chung
e28419f1f9
[cleanups] Remove `class CoreCodegen` and `g_core_codegen_interface` ( #31875 )
...
* Delete `g_core_codegen_interface`
* Automated change: Fix sanity tests
* Fix
* Update
2 years ago
Cheng-Yu Chung
ac365cadfb
Remove `include/grpc/impl/codegen/port_platform.h` ( #31778 )
2 years ago
Cheng-Yu Chung
9a7e77318b
[cleanups] Remove `include/grpc/impl/codegen/grpc_types.h` ( #31835 )
...
* Remove `include/grpc/impl/codegen/grpc_types.h`
* Automated change: Fix sanity tests
* Fix typo
* Automated change: Fix sanity tests
2 years ago
Rokya
feda5031fa
[BinderTransport] Make `CreateBinderChannel` parameter names consistent ( #31852 )
...
* Rename `jni_env` to `jni_env_void`
* Rename `application` to `context`
2 years ago
Cheng-Yu Chung
f03304b963
[cleanups] Remove functions in `class CoreCodegen` ( #31837 )
...
* Clean up `assert_fail()`
* Clean up `ok()` and `cancel()`
* Automated change: Fix sanity tests
2 years ago
Cheng-Yu Chung
2e9e6439f8
Remove `include/grpc/impl/codegen/connectivity_state.h` ( #31728 )
...
* Remove `include/grpc/impl/codegen/connectivity_state.h`
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
2 years ago
Eryu Xia
a8ac4e7265
Revert "[ObjC]fix 64 to 32 bit clang conversion warning in src/core/lib ( #29877 )" ( #31843 )
...
This reverts commit eb0a591811
.
2 years ago
Hannah Shi
eb0a591811
[ObjC]fix 64 to 32 bit clang conversion warning in src/core/lib ( #29877 )
2 years ago
Cheng-Yu Chung
4e90f43a75
Remove functions in `class CoreCodegen` ( #31796 )
...
* Update include
* Clean up `grpc_empty_slice()`
* Clean up `grpc_slice_malloc()`
* Clean up `grpc_slice_unref()`
* Clean up `grpc_slice_ref()`
* Clean up `grpc_slice_split_tail()`
* Clean up `grpc_slice_split_head()`
* Clean up `grpc_slice_sub()`
* Clean up `grpc_slice_buffer_add()`
* Clean up `grpc_slice_buffer_add_indexed()`
* Clean up `grpc_slice_buffer_pop()`
* Clean up `grpc_slice_from_static_buffer()`
* Clean up `grpc_slice_from_copied_buffer()`
* Clean up `grpc_metadata_array_init()`
* Clean up `grpc_metadata_array_destroy()`
* Clean up `gpr_inf_future()`
* Clean up `gpr_time_0()`
2 years ago
Cheng-Yu Chung
1d968a36aa
Remove functions in `class CoreCodegen` ( #31767 )
...
* Clean up `grpc_byte_buffer_copy()`
* Clean up `grpc_byte_buffer_destroy()`
* Clean up `grpc_byte_buffer_length()`
* Clean up `grpc_byte_buffer_reader_init()`
* Clean up `grpc_byte_buffer_reader_destroy()`
* Clean up `grpc_byte_buffer_reader_next()`
* Clean up `grpc_byte_buffer_reader_peek()`
* Clean up `grpc_raw_byte_buffer_create()`
* Clean up `grpc_slice_new_with_user_data()`
* Clean up `grpc_slice_new_with_len()`
* Clean up `grpc_call_start_batch()`
* Clean up `grpc_call_cancel_with_status()`
* Clean up `grpc_call_failed_before_recv_message()`
* Clean up `grpc_call_ref()`
* Clean up `grpc_call_unref()`
* Clean up `grpc_call_error_to_string()`
* Fix typos
* Automated change: Fix sanity tests
2 years ago
Cheng-Yu Chung
024a0f7388
Remove functions in `class CoreCodegen` ( #31751 )
...
* Clean up `grpc_completion_queue_factory_lookup()`
* Clean up `grpc_completion_queue_create()`
* Clean up `grpc_completion_queue_create_for_next()`
* Clean up `grpc_completion_queue_create_for_pluck()`
* Clean up `grpc_completion_queue_shutdown()`
* Clean up `grpc_completion_queue_destroy()`
* Clean up `grpc_completion_queue_pluck()`
* Clean up `gpr_malloc()`
* Clean up `gpr_free()`
* Clean up `grpc_init()`
* Clean up `grpc_shutdown()`
* Clean up `gpr_mu_init()`
* Clean up `gpr_mu_destroy()`
* Clean up `gpr_mu_lock()`
* Clean up `gpr_mu_unlock()`
* Clean up `gpr_cv_init()`
* Clean up `gpr_cv_destroy()`
* Clean up `gpr_cv_wait()`
* Clean up `gpr_cv_signal()`
* Remove `gpr_cv_broadcast()`
2 years ago
Cheng-Yu Chung
5498481265
Remove `include/grpcpp/impl/codegen/proto_utils.h` ( #31532 )
2 years ago
Cheng-Yu Chung
c34d99fd9a
Remove `include/grpc/impl/codegen/compression_types.h` ( #31726 )
...
* Remove `include/grpc/impl/codegen/compression_types.h`
* Automated change: Fix sanity tests
2 years ago
Cheng-Yu Chung
e9b287997a
Remove `include/grpcpp/impl/codegen/sync.h` ( #31545 )
...
* Remove `include/grpcpp/impl/codegen/sync.h`
* Fix sanity tests
2 years ago
Cheng-Yu Chung
452d026b7d
Remove `include/grpcpp/impl/codegen/interceptor_common.h` ( #31530 )
...
* Remove `include/grpcpp/impl/codegen/interceptor_common.h`
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
2 years ago
Cheng-Yu Chung
d5b285df95
Remove `include/grpcpp/impl/codegen/create_auth_context.h` ( #31359 )
...
* Remove `include/grpcpp/impl/codegen/create_auth_context.h`
* Update
* Automated change: Fix sanity tests
2 years ago
Cheng-Yu Chung
e83d69bdf2
Remove `include/grpcpp/impl/codegen/metadata_map.h` ( #31531 )
...
* Remove `include/grpcpp/impl/codegen/metadata_map.h`
* Automated change: Fix sanity tests
2 years ago
Cheng-Yu Chung
224c72b524
Remove `include/grpcpp/impl/codegen/server_interface.h` ( #31539 )
2 years ago
Cheng-Yu Chung
e7f9fb03f4
Remove `include/grpcpp/impl/codegen/server_callback_handlers.h` ( #31533 )
2 years ago
Cheng-Yu Chung
7e736c7a6b
Remove `include/grpcpp/impl/codegen/intercepted_channel.h` ( #31529 )
2 years ago
Esun Kim
d44e1520a7
Fix readability-redundant-access-specifiers ( #31561 )
...
* Added readability-redundant-access-specifiers
* Fix
2 years ago
Cheng-Yu Chung
a02cc7d88a
Remove `include/grpcpp/impl/codegen/delegating_channel.h` ( #31495 )
...
* Remove `include/grpcpp/impl/codegen/delegating_channel.h`
* Update
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
2 years ago
Cheng-Yu Chung
405de7ac72
Remove `include/grpcpp/impl/codegen/status.h` ( #31285 )
...
* Remove `include/grpcpp/impl/codegen/status.h`
* Include removing status_code_enum
* Update
* Update
* Update zlib (#31356 ) (#31357 )
To mitigate CVE-2022-37434
* Update
Co-authored-by: Mikhail Lappo <miklelappo@users.noreply.github.com>
2 years ago
Cheng-Yu Chung
e69592d29c
Remove `include/grpc/impl/codegen/atm.h` ( #31673 )
2 years ago
Cheng-Yu Chung
c91c2fbd1a
Remove `include/grpcpp/impl/codegen/completion_queue_tag.h` ( #31320 )
...
* Remove `include/grpcpp/impl/codegen/completion_queue_tag.h`
* Automated change: Fix sanity tests
2 years ago
Cheng-Yu Chung
47b9a57de9
Remove `g_glip` and `class GrpcLibraryInterface` ( #30414 )
...
* Remove `g_glip` and `class GrpcLibraryInterface`
* Update
* Update
* Update
* Automated change: Fix sanity tests (#20 )
* Update
* Update
* Update
* Test
* Fix
* Revert "Test"
This reverts commit 2f5c77e98d
.
* More fix
* More fix
* More fix
* Minor fix
* Revert "Minor fix"
This reverts commit 1ee3ae4da1
.
* Revert "More fix"
This reverts commit 1fc234896b
.
* Revert "More fix"
This reverts commit 851393c0e6
.
* Revert "More fix"
This reverts commit ed342a51d0
.
* Revert "Fix"
This reverts commit 286ad8e639
.
2 years ago
Esun Kim
250f9fc026
Revived google-readability-casting ( #31607 )
...
* Added google-readability-casting
* Fix
* Use brace init for constants
* more
* Fix
* Fix 2
* More fix
* Fixf
2 years ago
Richard Belleville
51f296b4f8
Bump master branch to 1.52.0-dev (gribkoff) ( #31618 )
...
* bump version to 1.52.0-dev
* regenerate projects
2 years ago
Esun Kim
42c2767c19
Revert "Bump v1.51.x to 1.51.0-pre1 ( #31620 )" ( #31621 )
...
This reverts commit bae9dd79aa
.
2 years ago
Richard Belleville
bae9dd79aa
Bump v1.51.x to 1.51.0-pre1 ( #31620 )
...
* bump version to 1.51.0-pre1
* regenerate projects
2 years ago
Esun Kim
8696d49e23
Added version macros ( #31033 )
2 years ago