Skip to main content

connectrpc-otel

OpenTelemetry instrumentation for Connect to generate server and client spans and metrics for requests with support for auto-instrumentation.

Example

from connectrpc_otel import OpenTelemetryInterceptor

from eliza_connect import ElizaServiceWSGIApplication, ElizaServiceClientSync

from ._service import MyElizaService

app = ElizaServiceWSGIApplication(MyElizaService(), interceptors=[OpenTelemetryInterceptor()])

def make_request():
    client = ElizaServiceClientSync("http://localhost:8080", interceptors=[OpenTelemetryInterceptor(client=True)])
    resp = client.Say(SayRequest(sentence="Hello!"))
    print(resp)

Download files

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

Source Distribution

connectrpc_otel-0.2.0.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

connectrpc_otel-0.2.0-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

Details for the file connectrpc_otel-0.2.0.tar.gz.

File metadata

  • Download URL: connectrpc_otel-0.2.0.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for connectrpc_otel-0.2.0.tar.gz
Algorithm Hash digest
SHA256 26f137ad0809e66fb801efbe69dfd5985122a429a8a9408524abd803572498c6
MD5 c59771f5827a096e8d4db95e18e62e30
BLAKE2b-256 d2d804cc106167429d0b47fc7d798c5c05471c33a38bc509d30878894d066d2a

See more details on using hashes here.

Provenance

The following attestation bundles were made for connectrpc_otel-0.2.0.tar.gz:

Publisher: release-otel.yaml on connectrpc/connect-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file connectrpc_otel-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for connectrpc_otel-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b3376ef00e334522b48f79c58986d1823649859fbf8e320090f2e54388b030b1
MD5 5bdd00c091863adf4924f3210565e775
BLAKE2b-256 8b964871493faf3dedcc48a81fd2075e942dd1c8012536f22aea156b354aaff3

See more details on using hashes here.

Provenance

The following attestation bundles were made for connectrpc_otel-0.2.0-py3-none-any.whl:

Publisher: release-otel.yaml on connectrpc/connect-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 files

0.1.1

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page