Tanvi Jagtap
154081a92a
[grpc][Gpr_To_Absl_Logging] Migrating from gpr to absl logging - gpr_log ( #36678 )
...
[grpc][Gpr_To_Absl_Logging] Migrating from gpr to absl logging - gpr_log
In this CL we are migrating from gRPCs own gpr logging mechanism to absl logging mechanism. The intention is to deprecate gpr_log in the future.
We have the following mapping
1. gpr_log(GPR_INFO,...) -> LOG(INFO)
2. gpr_log(GPR_ERROR,...) -> LOG(ERROR)
3. gpr_log(GPR_DEBUG,...) -> VLOG(2)
Reviewers need to check :
1. If the above mapping is correct.
2. The content of the log is as before.
gpr_log format strings did not use string_view or std::string . absl LOG accepts these. So there will be some elimination of string_view and std::string related conversions. This is expected.
Closes #36678
COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/36678 from tanvi-jagtap:test_cpp_gpr_log 81b8f4179f
PiperOrigin-RevId: 636410944
10 months 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
Esun Kim
f3fedae7c8
Added readability-redundant-string-cstr ( #31707 )
...
* Added readability-redundant-string-cstr
* Auto fix
* No need to wrap std::string
2 years ago
Yash Tibrewal
f4e55b85bc
Replace disrespectful term
4 years ago
Esun Kim
b3469c723e
Pre-assigned the server port and added more logs
5 years ago
Mark D. Roth
c769951764
Remove deprecated variant of JoinHostPort().
5 years ago
Esun Kim
e45b60d1fe
Fix unique_ptr<char> memory allocation mismatch
5 years ago
Esun Kim
b2b7fc9af8
Replaced grpc_core::UniquePtr with std::unique_ptr
5 years ago
Vijay Pai
37d248abd0
Remove unused parameter warning (19 of 20)
5 years ago
Soheil Hassas Yeganeh
dbf88dd66f
Revert "Revert "Introduce string_view and use it for gpr_split_host_port.""
...
This reverts commit 80c177d4c4
.
6 years ago
Soheil Hassas Yeganeh
80c177d4c4
Revert "Introduce string_view and use it for gpr_split_host_port."
6 years ago
Soheil Hassas Yeganeh
ef0f9bf7ec
Introduce string_view and use it for gpr_split_host_port.
6 years ago
Alex Polcyn
92e0a70ec6
Make QPS server builder customizeabled
7 years ago
Noah Eisen
58e0cbf9fb
Enable the performance-* clang-tidy checks
7 years ago
kpayson64
7a20c962df
Break out qps services into seperate protos
7 years ago
Vijay Pai
c90a85649b
Change grpc++ references in names to grpcpp
7 years ago
Vijay Pai
ae376bf9d9
Privatize host_port.h; was not used in any wrapped language implementation
7 years ago
Craig Tiller
4ac2b8e585
Enable clang-tidy as a sanity check, fix up all known failures
7 years ago
Vijay Pai
088112fea1
Create inproc version of QPS test and add a few simple tests of this to standard testing suite.
7 years ago
Vijay Pai
bc81eee4d4
Remove a follow-on internal that was added post-internalization, keep the templated QPS worker rather than going back to internal API
8 years ago
Vijay Pai
6abd20020b
Revert "Separate internal-only and public parts of C++ API"
8 years ago
Vijay Pai
c0baec60a1
Internalize structs and methods meant for being exposed through codegen
...
or that interface with core and are only for internal use
8 years ago
Craig Tiller
873ee82277
Add channel args to qps server
8 years ago
Jan Tattermusch
7897ae9308
auto-fix most of licenses
8 years ago
Vijay Pai
eea8cf0fe3
Add QPS tests for one-sided streaming
8 years ago
Craig Tiller
edec4f5f81
Add support for server-side channel args to qps_test
8 years ago
Vijay Pai
24992060c8
Finish streams that error. Don't histogram failed ops.
...
Fail on failed write
8 years ago
Vijay Pai
c0b2acb1a0
Use C++11 final and override
8 years ago
Vijay Pai
d923583768
Minor cleanup - remove an unneeded header, mark a class final, explicitly specify parent class
9 years ago
Craig Tiller
20afa3d7c9
BufferPool --> ResourceQuota
9 years ago
Craig Tiller
0c80c7d12c
Collecting failure status progress
9 years ago
vjpai
711472f846
Remove unused gflags and gtest includes
9 years ago
Craig Tiller
6169d5f7b0
Update copyrights
9 years ago
Craig Tiller
732a875fe8
Add a sanity test for name aliasing
9 years ago
Alistair Veitch
75d5c0f024
post merge
9 years ago
Vijay Pai
5919e81ff1
Remove host option from ServerConfig proto since it is error-prone and
...
may cause inter-language confusion.
9 years ago
Craig Tiller
1b4e33029e
Consolidate C++ proto files under src/proto
...
- make the directory structure match the package structure
- sanitize the package structure (test --> testing)
- add auto-detection of proto file dependencies
9 years ago
Jan Tattermusch
c5ebbd5b8f
use new perf proto options in c++
9 years ago
vjpai
fba20c987d
Address some review comments about signal and restoring qps_test_with_poll
...
Make payloads respect the new defaults
9 years ago
Vijay Pai
ce84670628
clang-format
9 years ago
vjpai
780a7f205d
Add in security support, make payload protos configurable
...
Have not yet added tests with security support, coming soon
9 years ago
vjpai
d08a738166
Cleanup some names
...
Remove some unused options and make server_threads relevant
Start stubbing out better qps/core calculations
9 years ago
vjpai
72a6332138
QPS worker no longer needs to specify server port on command line. This is part
...
of the proto if desired, or just goes to pick_unused_port_or_die if not
specified
9 years ago
vjpai
119c103ab0
Split up into a new service proto, use proper service suffix, add a
...
reset option to the mark, create a closed loop config params (empty
message) for consistency with other tests.
9 years ago
vjpai
754751e3c6
Numerous proto changes to make things more sane and fix some outstanding issues
9 years ago
vjpai
52bfb2564f
Split qpstest.proto into two parts - one for performance stats and
...
one for control.
Eliminate the use of our own SimpleRequest and SimpleResponse and
instead share the one from end2end testing
10 years ago
vjpai
0cc1341199
Move qpstest.proto to a common area (test/proto) instead of test/cpp/qps
10 years ago
Craig Tiller
71a0f9d3b0
Fix clang-format script
10 years ago
Craig Tiller
1ebb7c885e
Hand-written changes
10 years ago
Julien Boeuf
5be92a316d
Shuffling headers around.
10 years ago