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
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
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
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
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
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
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
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
37c6662919
Remove `include/grpcpp/impl/codegen/callback_common.h` ( #31311 )
...
* Remove `include/grpcpp/impl/codegen/callback_common.h`
* Update
2 years ago
Cheng-Yu Chung
08ee2a3487
Remove `include/grpcpp/impl/codegen/call_op_set.h` ( #31310 )
2 years ago
Cheng-Yu Chung
a1cb2f3d6f
Remove `include/grpcpp/impl/codegen/server_callback.h` ( #31280 )
2 years ago
Craig Tiller
28316341bf
Annotate impl/codegen with IWYU pragmas ( #27252 )
...
* Add a tool to annotate impl/codegen with IWYU pragmas
* xx
* oops
* fmt
* x
* fix wrong direction bug
* use defaultdict
* better annotations
* better annotations
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Muxi Yan
0e00c43082
Move headers from grpc++ to grpcpp
7 years ago
Jan Tattermusch
7897ae9308
auto-fix most of licenses
8 years ago
Craig Tiller
6169d5f7b0
Update copyrights
9 years ago
Alistair Veitch
75d5c0f024
post merge
9 years ago
David Garcia Quintas
b523c732d1
async_stream.h done. Compiles
9 years ago
David Garcia Quintas
44f3249018
Introduced ServerInterface
9 years ago
murgatroid99
3466c4b55d
Updated copyrights
9 years ago
Ian Coolidge
8e7a4b66e8
Fix R/W template argument order in prototypes
...
In some cases, the prototype argument order was different
than the declaration order.
Based on a patch from Sam Leffler.
9 years ago
Hongyu Chen
134cac2004
Address comments: revert all changes except adding two new metadata keys
...
"census" and "census-bin"
9 years ago
Hongyu Chen
1f96048187
Census tags propagation.
9 years ago
Julien Boeuf
5be92a316d
Shuffling headers around.
9 years ago
yang-g
e21908fcee
impl
9 years ago
yang-g
1eeb21c4df
api change to string_ref
9 years ago
yang-g
9e2f90cd06
headers reorg
9 years ago
yang-g
9b7757dd35
Use a sync service to handle requests to unknown services
9 years ago
Craig Tiller
bb5361453f
C++ context propagation
9 years ago
yang-g
d45a26ed06
allow null tag
9 years ago
yang-g
b335256444
Add AsyncNotifyWhenDone
9 years ago
Alistair Veitch
100a6e1d82
add struct include/grpc++/server_context.h src/cpp/server/server_context.cc
9 years ago
yang-g
9a009f2a75
make accessors from get_x() to x()
9 years ago
yang-g
487f5a20b6
add warning comments
9 years ago
yang-g
f1ec377063
server api
9 years ago
Alistair Veitch
cf39e94872
Server side census context plumbing for c++
9 years ago
David Garcia Quintas
80f3995e47
wip
10 years ago
David Garcia Quintas
6dd49a5c8f
Added some methods to context inspector. Also minor tweak to server context IsCancelled() method
10 years ago
yang-g
94d6225ae7
Create server side auth context lazily
10 years ago
David Garcia Quintas
3922005878
Introduced InteropContextInspector to be able to peek into server contexts during interop testing.
10 years ago
David Garcia Quintas
8d9f830168
Introduced InteropContextInspector to be able to peek into server contexts during interop testing.
10 years ago
jboeuf
69cb6b41c8
Backport of pull request #2313 into release-0_10.
10 years ago
yang-g
85c04f938f
resolve comments
10 years ago
yang-g
3abe60b9d0
compiles
10 years ago
David Garcia Quintas
d7d9ce27c5
WIP in *_end2end_test.cc. Tests pass. Fixed leaks and introduced concept of compression request thru MD
10 years ago
Craig Tiller
50a7a68ca2
Progress commit on fixing up C++
10 years ago
David Garcia Quintas
c9516d4e28
Fixed memory leak in server_async
10 years ago