Mark D. Roth
536b9351ec
JSON: use absl::Status instead of grpc_error ( #30397 )
...
* JSON: use absl::Status instead of grpc_error
* Automated change: Fix sanity tests
* fix credentials_test
* fix tests
* add missing build dep
* fix build
* fix test
* Automated change: Fix sanity tests
Co-authored-by: markdroth <markdroth@users.noreply.github.com>
2 years ago
Craig Tiller
ecde2a9f26
[init] Remove channelz from grpc_init path ( #29613 )
...
* [init] Remove channelz from grpc_init path
* fix build
* fix
* fix
3 years ago
AJ Heller
18a8f6aad9
Refactor end2end tests to exercise each EventEngine ( #29202 )
...
* Refactor end2end tests to exercise each EventEngine
* fix incorrect bazel_only exclusions
* Automated change: Fix sanity tests
* microbenchmark fix
* sanitize, fix iOS flub
* Automated change: Fix sanity tests
* iOS fix
* reviewer feedback
* first pass at excluding EventEngine test expansion
Also caught a few cases where we should not test pollers, but should
test all engines. And two cases where we likely shouldn't be testing
either product.
* end2end fuzzers to be fuzzed differently via EventEngine.
* sanitize
* reviewer feedback
* remove misleading comment
* reviewer feedback: comments
* EE test_init needs to play with our build system
* fix golden file test runner
Co-authored-by: drfloob <drfloob@users.noreply.github.com>
3 years ago
yihuaz
b458db9246
Eliminate gRPC insecure build ( #25586 )
...
* force submit
* fix test error
* remove is_client from local tsi and its callsites
* fix too_many_pings_test
* add missing dep
3 years ago
Mark D. Roth
0bdb4d650b
Revert "Revert "use CppImplOf for grpc_server ( #28112 )" ( #28130 )" ( #28144 )
...
This reverts commit eec0ca98c1
.
3 years ago
Mark D. Roth
eec0ca98c1
Revert "use CppImplOf for grpc_server ( #28112 )" ( #28130 )
...
This reverts commit 2ea8e50c3a
.
3 years ago
Mark D. Roth
2ea8e50c3a
use CppImplOf for grpc_server ( #28112 )
...
* use CppImplOf for grpc_server
* fix build
* fix sanity
3 years ago
Craig Tiller
6af45a35ba
Tooling to remove redundant grpc_core:: namespace references ( #28030 )
...
* Tooling to remove redundant grpc_core:: namespaces
These references tend to show up in our C++ code after C modules get
converted. Many get caught in review, many get missed.
* use it
* clang-format
3 years ago
Craig Tiller
ea389c00c2
Adjust include order per style guide ( #27175 )
...
Introduce clang-format configuration to sort includes closer to our rules.
3 years ago
Esun Kim
460898f11c
Migrated from grpc_error_string to grpc_error_std_string ( #26068 )
...
* Added grpc_error_std_string
* Migrated to grpc_error_std_string
4 years ago
Esun Kim
ca945a58e9
Introduced grpc_error_handle ( #25902 )
...
- Define grpc_error_handle
- Replace grpc_error* with grpc_error_handle
4 years ago
Esun Kim
be761cd430
Fixed sign-compare warnings
4 years ago
Esun Kim
53ab235fb8
Fix google-explicit-constructor
4 years ago
Esun Kim
ec0b88a5d7
Fix google-readability-casting
4 years ago
Mark D. Roth
e1633396dc
Decouple channel creation from channelz child linkage.
4 years ago
Mark D. Roth
0b61aea1c5
Convert grpc_server to idiomatic C++.
4 years ago
Esun Kim
8c64e96458
Fix flaky LastCallStartedTime
5 years ago
Esun Kim
7a14955759
Replaced grpc_core::MakeUnique with absl::make_unique
5 years ago
Mark D. Roth
bc5e3fb661
Convert channelz code to use new JSON API
5 years ago
Esun Kim
ed44a1f430
Clean up grpc_core::MakeUnique
5 years ago
Esun Kim
b2b7fc9af8
Replaced grpc_core::UniquePtr with std::unique_ptr
5 years ago
Vijay Pai
5d7e4bb301
Stop using deprecated gtest macros
5 years ago
Soheil Hassas Yeganeh
bdd3fdddb2
Expose cycle counter and use it /channelz.
...
We are using clock real time (which is very expensive) on every
RPC to update channelz. We should simply use cycle clock.
This patch exposes cycle clock, enables RDTSC on intel,
and use it for channelz.
This patch also changes the implementation of time_precise_init
to that more accurately using the monotonic clock and
shorter by looping at most a few hundred milliseconds.
This is part of a larger performance series.
5 years ago
Mark D. Roth
cfb31818ef
Remove channelz from LB policy API.
6 years ago
yang-g
e75fc243da
change tests to use the new class instead of grpc_test_init
6 years ago
ncteisen
693f46841a
Add GetServer to core
6 years ago
ncteisen
a3400a8fcb
Add a test with more edge cases
6 years ago
ncteisen
d6d5d21c0a
Add bin search to gettopchannels and getservers
6 years ago
ncteisen
8e666499a9
reveiwer feedback
6 years ago
ncteisen
9cf66fbb67
Add tests
6 years ago
ncteisen
636393d719
reviewer feedback
6 years ago
ncteisen
4377cbadaf
Support channelz pagination
6 years ago
ncteisen
10f995d283
Enable channelz by default
6 years ago
ncteisen
3c2024c6af
reviewer comments
6 years ago
ncteisen
dd5fd814f3
reviewer feedback
6 years ago
ncteisen
f906185200
Shard channelz stats by CPU
6 years ago
ncteisen
a64cb54de1
Channel trace is limited by memory
6 years ago
ncteisen
fe1f7f5813
reviewer feedback
6 years ago
ncteisen
be8844bcdb
reviewer feedback
6 years ago
ncteisen
3aa987a29a
Add channelz server support
6 years ago
ncteisen
58db94e5d9
reviewer comments
6 years ago
ncteisen
bfdfe9fefb
Restructure heirarchy
6 years ago
ncteisen
f081cf67d1
refactor
6 years ago
ncteisen
8cb2d0c64a
Restructure everything
6 years ago
ncteisen
bbee13661c
Add channelz subchannel support
6 years ago
ncteisen
b86a744751
Expose GetChannel and GetTopChannels Core API
6 years ago
ncteisen
5d373c40bd
reviewer feedback
6 years ago
ncteisen
97066fd0e4
Support for GetTopChannels
6 years ago
ncteisen
1ab1287ac7
Reviewer feedback
7 years ago
ncteisen
4d1da600b5
Fix ASAN and sanity
7 years ago