Skip to main content

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


Download files

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

Source Distribution

aiowatch-0.1.1.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

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

aiowatch-0.1.1-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

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

Hashes for aiowatch-0.1.1.tar.gz
Algorithm Hash digest
SHA256 080136e7783df1831d9ec15c8ccf36ef62cd9e8af2d2df981675a033ccb21b1f
MD5 6c290666101d8f46d2a1a00c86ac4441
BLAKE2b-256 5f9c2c1551e68881607adf22456b9cabd6a95843527f323993a14afbacd23b5a

See more details on using hashes here.

Provenance

The following attestation bundles were made for aiowatch-0.1.1.tar.gz:

Publisher: publish.yml on iaalm/aiowatch

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

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

Hashes for aiowatch-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f51bddd11fbb1c668dd79515d45f59ac21740736f4a3926e5e1cfa929d190e20
MD5 c2c6a6031aa9a8e13e35d25964b8215a
BLAKE2b-256 8ac7b0c9116b30ee7e95d792ecd0e4497eb7bb8e9f13864bce44a2d057ebf654

See more details on using hashes here.

Provenance

The following attestation bundles were made for aiowatch-0.1.1-py3-none-any.whl:

Publisher: publish.yml on iaalm/aiowatch

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

Supported by

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