Skip to main content

Placeholder for checktrace SDK. Install from pip.muid.io for full version.

Project description

checktrace

This is a placeholder package on PyPI.

The full checktrace SDK (Python SDK for distributed tracing via TraceHub) is available from our private package index.

Installation

pip install checktrace --extra-index-url https://pip.muid.io/simple/

With FastAPI middleware support:

pip install "checktrace[middleware]" --extra-index-url https://pip.muid.io/simple/

Features (in full version)

  • Config-driven tracing initialization
  • ContextVar-based correlation ID propagation (async-safe)
  • Auto-redaction of sensitive data
  • Non-blocking trace sending (background thread)
  • FastAPI middleware for automatic request tracing
  • @checkpoint decorator for function tracing
  • CLI for querying traces (checktrace list/get/stream)

Quick Start (after installing from pip.muid.io)

from checktrace import CheckTraceConfig, init_tracing, checkpoint

config = CheckTraceConfig(
    tracehub_url="http://tracehub:8099",
    project_name="myapp",
    default_source_id="MA",
)
init_tracing(config)

@checkpoint("MA", "process_request")
async def process_request(data: dict):
    return {"status": "ok"}

Links

License

MIT

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

checktrace-0.0.1.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

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

checktrace-0.0.1-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

Details for the file checktrace-0.0.1.tar.gz.

File metadata

  • Download URL: checktrace-0.0.1.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for checktrace-0.0.1.tar.gz
Algorithm Hash digest
SHA256 b516a064752f1c0d5e8e5796560f188cf9cf05976e430da1148f9c92cb5ad3f8
MD5 845fcc31583dd72fb783fe825a37a1b0
BLAKE2b-256 b296ac77852139498fbda352b6f7e10517196e70309cf5dc475b6f388c3c939a

See more details on using hashes here.

File details

Details for the file checktrace-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: checktrace-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for checktrace-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ad884f4f441ee8119765e8d0d20c4e5faaad7c96cdb372aca66b17abc3752ded
MD5 54de9534974c6b1f3c1782f8b242ce79
BLAKE2b-256 d00c91fddf31223543bfba71ffe0f47445224c29de031f57e30e990dad3cc1fb

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