grpc/examples
Yash Tibrewal ac303a09f6 [OTel] Generate pkg-config file for grpcpp_otel_plugin (#36686)
Public Changes -
* Add a pkgconfig installer for `grpcpp_otel_plugin`

Example Changes -
* Add example of how to use the pkgconfig for `grpcpp_otel_plugin` with the existing OpenTelemetry example.
* Add another OpenTelemetry example that uses OTel's OStream exporter. This makes it easier to test the pkgconfig file for `grpcpp_otel_plugin` since the OStream exporter does not require any additional dependencies, as opposed to the Prometheus exporter.

Test changes -
* Modify `run_distrib_test_cmake_pkgconfig.sh` test to install opentelemetry and build the example with the OStream exporter.

Closes #36686

PiperOrigin-RevId: 636965475
2024-05-24 10:41:11 -07:00
..
android [Build] Migrate Android NDK, android rules and platforms (#36116) 2024-03-19 11:46:15 -07:00
cpp [OTel] Generate pkg-config file for grpcpp_otel_plugin (#36686) 2024-05-24 10:41:11 -07:00
node [examples] Replace Node example files with references to the new location (#33522) 2023-06-22 17:48:33 -07:00
objective-c [grpc] Move contents of objective_c to objective-c (#35361) 2023-12-21 09:19:55 -08:00
php Update min PHP testing version from PHP 7.4 to 8.1 (#35964) 2024-02-22 14:32:42 -08:00
protos [Example] Added gRPC C++ cancellation example (#34239) 2023-09-06 09:07:33 -07:00
python [Python Otel] Use registered method at server side (#36371) 2024-05-01 14:43:15 -07:00
ruby Make the gem build on TruffleRuby (#27660) 2022-06-27 23:12:13 -07:00
README.md Remove C# implementation (individual packages will continue to be maintained through v2.46.x patches or moved to grpc-dotnet) (#29225) 2022-04-28 12:00:34 +02:00

README.md

Examples

This directory contains examples for all the C-based gRPC implementations. Each language subdirectory contains a Hello World example and more:

For a complete list of supported languages, see Supported languages.

For comprehensive documentation, including an Introduction to gRPC and tutorials that use this example code, visit grpc.io.