Skip to main content

OpenCensus gRPC Integration

Project description

pypi

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.

Installation

pip install opencensus-ext-grpc

Usage

from opencensus.trace import config_integration

config_integration.trace_integrations(['grpc'])

References

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

opencensus_ext_grpc-0.2.0-py2.py3-none-any.whl (8.8 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file opencensus_ext_grpc-0.2.0-py2.py3-none-any.whl.

File metadata

  • Download URL: opencensus_ext_grpc-0.2.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 8.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for opencensus_ext_grpc-0.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7080716b270141e134c687b806c556b9a34c9f5184396e9941d099e0557fdae3
MD5 b839eed1f3570e315dabaf427069e6af
BLAKE2b-256 8c2c680109d48fcab77a2ce5c2f38a9f4ae09cf7d3257ee18bcdf4039bc1dd9d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page