OpenTelemetry instrumentation for connectrpc
Project description
connectrpc-otel
OpenTelemetry instrumentation for connect-python to generate server and client spans and metrics for ConnectRPC 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)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file connectrpc_otel-0.1.1.tar.gz.
File metadata
- Download URL: connectrpc_otel-0.1.1.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b02af5f3fab070d243536789c8186c5321caa66cdac0e27a4516b9f92a561e50
|
|
| MD5 |
01e37bea4dfb68f4ba02cc18491c94e8
|
|
| BLAKE2b-256 |
d55e7466ef25a5472a58d0ae11ef23a65a4f1d8150ecbbd21b10a1590b5d8536
|
Provenance
The following attestation bundles were made for connectrpc_otel-0.1.1.tar.gz:
Publisher:
release-otel.yaml on connectrpc/connect-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
connectrpc_otel-0.1.1.tar.gz -
Subject digest:
b02af5f3fab070d243536789c8186c5321caa66cdac0e27a4516b9f92a561e50 - Sigstore transparency entry: 1466498280
- Sigstore integration time:
-
Permalink:
connectrpc/connect-python@3189d1d67e40228774b3fa5238bd5964edf33577 -
Branch / Tag:
refs/tags/connectrpc-otel/v0.1.1 - Owner: https://github.com/connectrpc
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-otel.yaml@3189d1d67e40228774b3fa5238bd5964edf33577 -
Trigger Event:
push
-
Statement type:
File details
Details for the file connectrpc_otel-0.1.1-py3-none-any.whl.
File metadata
- Download URL: connectrpc_otel-0.1.1-py3-none-any.whl
- Upload date:
- Size: 11.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
abb2945fadd65ce79090a42a428d7bc3468b61d3ce28f0c03b2df591c8719fac
|
|
| MD5 |
55cd51dbc4e914ec0b60d0bcb1042bbd
|
|
| BLAKE2b-256 |
cbfe20b831e10004fba10546f9f6d1538afe63ad76a49204b39b6a34061a3559
|
Provenance
The following attestation bundles were made for connectrpc_otel-0.1.1-py3-none-any.whl:
Publisher:
release-otel.yaml on connectrpc/connect-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
connectrpc_otel-0.1.1-py3-none-any.whl -
Subject digest:
abb2945fadd65ce79090a42a428d7bc3468b61d3ce28f0c03b2df591c8719fac - Sigstore transparency entry: 1466498450
- Sigstore integration time:
-
Permalink:
connectrpc/connect-python@3189d1d67e40228774b3fa5238bd5964edf33577 -
Branch / Tag:
refs/tags/connectrpc-otel/v0.1.1 - Owner: https://github.com/connectrpc
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-otel.yaml@3189d1d67e40228774b3fa5238bd5964edf33577 -
Trigger Event:
push
-
Statement type: