grpc/examples/python/helloworld
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
..
.gitignore move examples to correct locations 2015-08-27 14:00:20 -07:00
README.md Docs: fix links to quick start pages 2020-06-16 08:40:59 -04:00
async_greeter_client.py [Python] Migrate from yapf to black (#33138) 2023-06-09 15:08:55 -07:00
async_greeter_client_with_options.py [Python] Migrate from yapf to black (#33138) 2023-06-09 15:08:55 -07:00
async_greeter_server.py [Python] Migrate from yapf to black (#33138) 2023-06-09 15:08:55 -07:00
async_greeter_server_with_graceful_shutdown.py [Python] Migrate from yapf to black (#33138) 2023-06-09 15:08:55 -07:00
async_greeter_server_with_reflection.py [Python] Migrate from yapf to black (#33138) 2023-06-09 15:08:55 -07:00
greeter_client.py [Python] Migrate from yapf to black (#33138) 2023-06-09 15:08:55 -07:00
greeter_client_reflection.py [Python] Migrate from yapf to black (#33138) 2023-06-09 15:08:55 -07:00
greeter_client_with_options.py [Python] Migrate from yapf to black (#33138) 2023-06-09 15:08:55 -07:00
greeter_server.py [Python] Migrate from yapf to black (#33138) 2023-06-09 15:08:55 -07:00
greeter_server_with_reflection.py [Python] Migrate from yapf to black (#33138) 2023-06-09 15:08:55 -07:00
helloworld_pb2.py [Python Observability] Allow create call with registered method (#35002) 2024-01-08 15:30:17 -08:00
helloworld_pb2.pyi [Python Observability] Allow create call with registered method (#35002) 2024-01-08 15:30:17 -08:00
helloworld_pb2_grpc.py [Python Observability] Allow create call with registered method (#35002) 2024-01-08 15:30:17 -08:00