grpc/examples
Xuan Wang 9a7c0b5f57 [Python Observability] Allow create call with registered method (#35002)
Based on [OpenTelemetry Metrics gRFC](https://github.com/grpc/proposal/blob/master/A66-otel-stats.md#opentelemetry-metrics), we should recored unregistered RPC method name as `other`, this PR adds the ability to pass register method information when creating a call.

We'll consider calls created using generated stubs as registered, note that this won't prevent user from setting `registered_method=True` when creating calls manually.

This is also enabled for simple stub flow but **NOT enabled for AsyncIO**, we'll add that later when start working on AsyncIO Observability.
<!--

If you know who should review your pull request, please assign it to that
person, otherwise the pull request would get assigned randomly.

If your pull request is for a specific language, please add the appropriate
lang label.

-->

Closes #35002

PiperOrigin-RevId: 596719121
2024-01-08 15:30:17 -08:00
..
android [protobuf] Upgrade third_party/protobuf to 22.x (#32606) 2023-04-12 18:43:58 +02:00
cpp [examples] Fix csm greeter client (#35355) 2023-12-19 20:06:07 -08: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 PHP docker images PHP versions (#31779) 2022-12-07 13:20:48 -08:00
protos [Example] Added gRPC C++ cancellation example (#34239) 2023-09-06 09:07:33 -07:00
python [Python Observability] Allow create call with registered method (#35002) 2024-01-08 15:30:17 -08: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.