grpc/examples/python
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
..
async_streaming [Python] Migrate from yapf to black (#33138) 2023-06-09 15:08:55 -07:00
auth [Python example] Add example for TLS (#34116) 2023-08-22 13:02:40 -07:00
cancellation [Python] Migrate from yapf to black (#33138) 2023-06-09 15:08:55 -07:00
compression [Python Example] Fix compression example (#34745) 2023-10-20 09:10:14 -07:00
data_transmission [Python] Migrate from yapf to black (#33138) 2023-06-09 15:08:55 -07:00
debug [Python] Migrate from yapf to black (#33138) 2023-06-09 15:08:55 -07:00
errors [Python] Migrate from yapf to black (#33138) 2023-06-09 15:08:55 -07:00
health_checking [Python] Migrate from yapf to black (#33138) 2023-06-09 15:08:55 -07:00
hellostreamingworld [Python] Migrate from yapf to black (#33138) 2023-06-09 15:08:55 -07:00
helloworld [Python Observability] Allow create call with registered method (#35002) 2024-01-08 15:30:17 -08:00
interceptors [Python] Migrate from yapf to black (#33138) 2023-06-09 15:08:55 -07:00
keep_alive [Python] Migrate from yapf to black (#33138) 2023-06-09 15:08:55 -07:00
lb_policies [Python] Migrate from yapf to black (#33138) 2023-06-09 15:08:55 -07:00
metadata [Python] Migrate from yapf to black (#33138) 2023-06-09 15:08:55 -07:00
multiplex [Python] Migrate from yapf to black (#33138) 2023-06-09 15:08:55 -07:00
multiprocessing [Python] Migrate from yapf to black (#33138) 2023-06-09 15:08:55 -07:00
no_codegen [Python] Migrate from yapf to black (#33138) 2023-06-09 15:08:55 -07:00
retry [Python] Migrate from yapf to black (#33138) 2023-06-09 15:08:55 -07:00
route_guide [Python] Migrate from yapf to black (#33138) 2023-06-09 15:08:55 -07:00
timeout [Python] Migrate from yapf to black (#33138) 2023-06-09 15:08:55 -07:00
uds [Python] Migrate from yapf to black (#33138) 2023-06-09 15:08:55 -07:00
wait_for_ready [Python] Migrate from yapf to black (#33138) 2023-06-09 15:08:55 -07:00
xds [Python] Migrate from yapf to black (#33138) 2023-06-09 15:08:55 -07:00
Makefile [Python Example] Fix compression example (#34745) 2023-10-20 09:10:14 -07:00
README.md Docs: fix links to quick start pages 2020-06-16 08:40:59 -04:00