grpc/test/cpp/interop
Yash Tibrewal c12a5645f7 [OTel] Experimental API for metrics (#35348)
Provide a public experimental API and bazel compatible build target for OpenTelemetry metrics.

Details -
* New `OpenTelemetryPluginBuilder` class that provides the API specified in https://github.com/grpc/proposal/blob/master/A66-otel-stats.md
* The existing `grpc::internal::OpenTelemetryPluginBuilder` class is moved to `grpc::internal::OpenTelemetryPluginBuilderImpl` for disambiguation.
* Renamed `OTel` in some instances to `OpenTelemetry` for consistency.

Closes #35348

COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/35348 from yashykt:OTelPublicApi e32328825e
PiperOrigin-RevId: 594271246
2023-12-28 09:45:29 -08:00
..
BUILD [PSM Interop] Add flag to enable CSM Observability in c++ image (#34866) 2023-11-02 14:59:16 -07:00
README.md [testing]: Add "orca_per_rpc" test case (#32524) 2023-03-14 11:06:31 -07:00
backend_metrics_lb_policy.cc [resolver and LB policy APIs] reland: change address list to support multiple addresses per endpoint (#34531) 2023-09-28 15:40:05 -07:00
backend_metrics_lb_policy.h [infra] Fix absl::Mutex check and remove all uses (#33144) 2023-05-16 12:50:52 -07:00
client.cc [test] Allow set request/response size in interop soak test (#34010) 2023-08-10 09:34:27 -07:00
client_helper.cc [testing]: Add "orca_per_rpc" test case (#32524) 2023-03-14 11:06:31 -07:00
client_helper.h [testing]: Add "orca_per_rpc" test case (#32524) 2023-03-14 11:06:31 -07:00
grpclb_fallback_test.cc [Deps] Update to Clang-16 (#34492) 2023-10-11 16:26:32 -07:00
http2_client.cc [cleanup] Eliminate usage of GRPC_ASSERT(false...); (#31757) 2023-01-11 08:50:32 -08:00
http2_client.h Convert c-style comments to C++-style comments (#31923) 2022-12-22 23:01:53 -08:00
interop_client.cc [test] Allow set request/response size in interop soak test (#34010) 2023-08-10 09:34:27 -07:00
interop_client.h [test] Allow set request/response size in interop soak test (#34010) 2023-08-10 09:34:27 -07:00
interop_server.cc [interop] fix C++ server to add mutex for orca_oob test (#33278) 2023-05-31 20:07:51 -07:00
interop_server_bootstrap.cc Convert c-style comments to C++-style comments (#31923) 2022-12-22 23:01:53 -08:00
interop_test.cc [cleanup] Eliminate usage of GRPC_ASSERT(false...); (#31757) 2023-01-11 08:50:32 -08:00
interop_test_with_metadata_log.sh add --log_metadata_and_status feature to interop_client (#28021) 2021-11-23 15:32:13 -08:00
istio_echo_server.cc Revert "Revert "[c++] Move environment functions to C++ (#30937)" (#30986)" (#30988) 2022-09-14 14:19:36 -07:00
istio_echo_server_lib.cc Istio Echo: Add version string (#30477) 2022-08-03 10:35:31 -07:00
istio_echo_server_lib.h Istio Echo: Add version string (#30477) 2022-08-03 10:35:31 -07:00
istio_echo_server_test.cc [cleanup] Eliminate usage of GRPC_ASSERT(false...); (#31757) 2023-01-11 08:50:32 -08:00
metrics_client.cc [cleanup] Eliminate usage of GRPC_ASSERT(false...); (#31757) 2023-01-11 08:50:32 -08:00
observability_client.cc [OTel] Experimental API for metrics (#35348) 2023-12-28 09:45:29 -08:00
observability_interop_server_bootstrap.cc [Deps] Update to Clang-16 (#34492) 2023-10-11 16:26:32 -07:00
pre_stop_hook_server.cc [test interop] Add HookService to the maintenence server (#34413) 2023-09-19 18:06:31 -07:00
pre_stop_hook_server.h [test interop] Add HookService to the maintenence server (#34413) 2023-09-19 18:06:31 -07:00
pre_stop_hook_server_test.cc [interop test] Fix the test (#34424) 2023-09-20 11:53:08 -07:00
reconnect_interop_client.cc [cleanup] Eliminate usage of GRPC_ASSERT(false...); (#31757) 2023-01-11 08:50:32 -08:00
reconnect_interop_server.cc [cleanup] Eliminate usage of GRPC_ASSERT(false...); (#31757) 2023-01-11 08:50:32 -08:00
rpc_behavior_lb_policy.cc [RefCounted and friends] Fix type safety of ref-counted types. 2023-12-19 13:27:56 -08:00
rpc_behavior_lb_policy.h [PSM Interop] Add custom_lb test client (#32757) 2023-03-31 14:03:44 -07:00
server_helper.cc Convert c-style comments to C++-style comments (#31923) 2022-12-22 23:01:53 -08:00
server_helper.h Convert c-style comments to C++-style comments (#31923) 2022-12-22 23:01:53 -08:00
stress_interop_client.cc [cleanup] Eliminate usage of GRPC_ASSERT(false...); (#31757) 2023-01-11 08:50:32 -08:00
stress_interop_client.h Fix include guards for src/ and test/ directories (#32167) 2023-01-20 16:27:27 -08:00
stress_test.cc [cleanup] Eliminate usage of GRPC_ASSERT(false...); (#31757) 2023-01-11 08:50:32 -08:00
xds_federation_client.cc [test] Allow set request/response size in interop soak test (#34010) 2023-08-10 09:34:27 -07:00
xds_interop_client.cc [OTel] Experimental API for metrics (#35348) 2023-12-28 09:45:29 -08:00
xds_interop_server.cc [OTel] Experimental API for metrics (#35348) 2023-12-28 09:45:29 -08:00
xds_interop_server_lib.cc [test interop] Add HookService to the maintenence server (#34413) 2023-09-19 18:06:31 -07:00
xds_interop_server_lib.h [test interop] Add HookService to the maintenence server (#34413) 2023-09-19 18:06:31 -07:00
xds_interop_server_test.cc [test interop] Add HookService to the maintenence server (#34413) 2023-09-19 18:06:31 -07:00
xds_stats_watcher.cc Internal change 2023-11-27 21:41:47 +00:00
xds_stats_watcher.h [PSM Interop] Return trailing metadata. (#34096) 2023-08-25 14:02:23 -07:00
xds_stats_watcher_test.cc Internal change 2023-11-27 21:41:47 +00:00

README.md

Running a test locally during development

To start a server during development:

  1. Choose an available port number.
  2. Start the server:
GRPC_VERBOSITY=DEBUG ibazel run --compilation_mode=dbg //test/cpp/interop:interop_server -- --port={port_number}
  1. Start the client:
GRPC_VERBOSITY=DEBUG ibazel run --test_output=streamed //test/cpp/interop:interop_client -- --server_port={port_number} --test_case={test_case}