Skip to main content

OpenTelemetry instrumentation for AsyncFast

Project description

opentelemetry-instrumentation-asyncfast

opentelemetry-instrumentation-asyncfast provides OpenTelemetry tracing for AsyncFast.

Installation

pip install opentelemetry-instrumentation-asyncfast

Example

from asyncfast import AsyncFast
from opentelemetry import trace
from opentelemetry.sdk.trace import TracerProvider
from opentelemetry.sdk.trace.export import ConsoleSpanExporter
from opentelemetry.sdk.trace.export import SimpleSpanProcessor
from opentelemetry.instrumentation.asyncfast import AsyncFastInstrumentor

tracer_provider = TracerProvider()
tracer_provider.add_span_processor(SimpleSpanProcessor(ConsoleSpanExporter()))

trace.set_tracer_provider(tracer_provider)

AsyncFastInstrumentor().instrument()

app = AsyncFast()


@app.channel("orders")
async def orders(payload: dict) -> None: ...

Contact

For questions or suggestions, please contact jack.burridge@mail.com.

License

Copyright 2026 AMGI

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

Built Distribution

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

File details

Details for the file opentelemetry_instrumentation_asyncfast-0.60b1.tar.gz.

File metadata

  • Download URL: opentelemetry_instrumentation_asyncfast-0.60b1.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for opentelemetry_instrumentation_asyncfast-0.60b1.tar.gz
Algorithm Hash digest
SHA256 d35029d8054dbc8b976b933a114eb1e3de10cdb938ece2ec802c51aef8a2b539
MD5 430b87408e5aad56aaf161df25b519d6
BLAKE2b-256 e22994022ef41d57a44e7e5784c5ab16205112b44cbae835aab367d2f8f16e01

See more details on using hashes here.

File details

Details for the file opentelemetry_instrumentation_asyncfast-0.60b1-py3-none-any.whl.

File metadata

  • Download URL: opentelemetry_instrumentation_asyncfast-0.60b1-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for opentelemetry_instrumentation_asyncfast-0.60b1-py3-none-any.whl
Algorithm Hash digest
SHA256 30df13dabb075224442ee6c3d5b0c52f17f1a1448ca42df5e1fb44b5586b3912
MD5 1df9342f00d2b400dda726cb4bc45a1d
BLAKE2b-256 90583f8648a4cf77170cfe737954853eaca6f2e461551a38e597a115ace66a1f

See more details on using hashes here.

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