Socket
Socket
Sign inDemoInstall

opencensus-ext-grpc

Package Overview
Dependencies
Maintainers
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

opencensus-ext-grpc

OpenCensus gRPC Integration


Maintainers
5

OpenCensus gRPC Integration

|pypi|

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

OpenCensus provides the implementation of interceptors for both the client side and server side to instrument the gRPC requests and responses. The client interceptors are used to create a decorated channel that intercepts client gRPC calls and server interceptors act as decorators over handlers.

gRPC interceptor is a new feature in the grpcio1.8.0 release, please upgrade your grpcio to the latest version to use this feature.

For sample usage, please refer to the hello world example in the examples directory.

More information about the gRPC interceptors please see the proposal_.

.. _proposal: https://github.com/mehrdada/proposal/blob/python-interceptors/L13-Python-Interceptors.md

Installation

::

pip install opencensus-ext-grpc

Usage

Please refer to the examples <https://github.com/census-instrumentation/opencensus-python/tree/master/contrib/opencensus-ext-grpc/examples>. For more information, read gRPC Python Interceptors <https://github.com/grpc/proposal/blob/master/L13-python-interceptors.md>.

References

  • Examples <https://github.com/census-instrumentation/opencensus-python/tree/master/contrib/opencensus-ext-grpc/examples>_
  • gRPC <https://grpc.io/>_
  • OpenCensus Project <https://opencensus.io/>_

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc