Asyncio and ThreadPool observability for OpenTelemetry.
Project description
aiowatch
aiowatch provides lightweight runtime observability for asyncio applications and
ThreadPoolExecutors through OpenTelemetry metrics.
Install
pip install aiowatch
Quick Start
from concurrent.futures import ThreadPoolExecutor
from aiowatch import AioWatch
from opentelemetry.metrics import get_meter
meter = get_meter("my-service")
executor = ThreadPoolExecutor(max_workers=20)
async def main() -> None:
async with AioWatch(
meter=meter,
collect_interval=5.0,
thread_pools={"worker": executor},
):
...
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 aiowatch-0.1.1.tar.gz.
File metadata
- Download URL: aiowatch-0.1.1.tar.gz
- Upload date:
- Size: 8.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
080136e7783df1831d9ec15c8ccf36ef62cd9e8af2d2df981675a033ccb21b1f
|
|
| MD5 |
6c290666101d8f46d2a1a00c86ac4441
|
|
| BLAKE2b-256 |
5f9c2c1551e68881607adf22456b9cabd6a95843527f323993a14afbacd23b5a
|
Provenance
The following attestation bundles were made for aiowatch-0.1.1.tar.gz:
Publisher:
publish.yml on iaalm/aiowatch
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aiowatch-0.1.1.tar.gz -
Subject digest:
080136e7783df1831d9ec15c8ccf36ef62cd9e8af2d2df981675a033ccb21b1f - Sigstore transparency entry: 1450470695
- Sigstore integration time:
-
Permalink:
iaalm/aiowatch@dcd1d6da8f66b3045038c2beb531c22474612a5e -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/iaalm
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@dcd1d6da8f66b3045038c2beb531c22474612a5e -
Trigger Event:
push
-
Statement type:
File details
Details for the file aiowatch-0.1.1-py3-none-any.whl.
File metadata
- Download URL: aiowatch-0.1.1-py3-none-any.whl
- Upload date:
- Size: 7.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f51bddd11fbb1c668dd79515d45f59ac21740736f4a3926e5e1cfa929d190e20
|
|
| MD5 |
c2c6a6031aa9a8e13e35d25964b8215a
|
|
| BLAKE2b-256 |
8ac7b0c9116b30ee7e95d792ecd0e4497eb7bb8e9f13864bce44a2d057ebf654
|
Provenance
The following attestation bundles were made for aiowatch-0.1.1-py3-none-any.whl:
Publisher:
publish.yml on iaalm/aiowatch
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aiowatch-0.1.1-py3-none-any.whl -
Subject digest:
f51bddd11fbb1c668dd79515d45f59ac21740736f4a3926e5e1cfa929d190e20 - Sigstore transparency entry: 1450471331
- Sigstore integration time:
-
Permalink:
iaalm/aiowatch@dcd1d6da8f66b3045038c2beb531c22474612a5e -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/iaalm
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@dcd1d6da8f66b3045038c2beb531c22474612a5e -
Trigger Event:
push
-
Statement type: