Files
opentelemetry-python-contrib/instrumentation/opentelemetry-instrumentation-grpc
Jason Anderson fa499f5ca8 fix: grpc server ValueError when using unix sockets (#3394)
* fix: grpc server ValueError when using unix sockets

with some grpc implementations the full .peer address is available
for unix sockets, which includes the socket path. it seems that
in versions of grpc prior to 1.53.0, the full path is returned by
`context.peer()`. rather than change the dependency of the instrumentation,
this updates it to more gracefully handle the case of the socket path
being present or absent.

Fixes #3393

* add changelog entry

---------

Co-authored-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
2025-04-02 08:42:29 +00:00
..

OpenTelemetry gRPC Integration
==============================

|pypi|

.. |pypi| image:: https://badge.fury.io/py/opentelemetry-instrumentation-grpc.svg
   :target: https://pypi.org/project/opentelemetry-instrumentation-grpc/

Client and server interceptors for `gRPC Python`_.

.. _gRPC Python: https://grpc.github.io/grpc/python/grpc.html

Installation
------------

::

     pip install opentelemetry-instrumentation-grpc


References
----------

* `OpenTelemetry Project <https://opentelemetry.io/>`_
* `OpenTelemetry Python Examples <https://github.com/open-telemetry/opentelemetry-python/tree/main/docs/examples>`_