semvec/pypi-packages huggingface dataset:
tracehub 0.0.1
Placeholder for tracehub server. Install from pip.muid.io for full version.
Requires Python: >=3.8
Keywords: distributed, observability, placeholder, server, tracing

# tracehub

**This is a placeholder package on PyPI.**

The full tracehub server (centralized checkpoint trace collection) is available from our private package index.

## Installation

```bash
pip install tracehub --extra-index-url https://pip.muid.io/simple/
```

For the client SDK:

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

## What is TraceHub?

TraceHub is a centralized trace collection server for distributed systems. It receives checkpoint traces from services instrumented with the `checktrace` SDK and provides:

- **Trace storage** - SQLite-based storage with configurable retention
- **REST API** - Query traces by correlation ID
- **Real-time streaming** - SSE streaming for live debugging
- **CLI integration** - Query traces via `checktrace list/get/stream`

## Architecture

```
┌─────────────┐     ┌─────────────┐     ┌─────────────┐
│  Service A  │     │  Service B  │     │  Service C  │
│ (checktrace)│     │ (checktrace)│     │ (checktrace)│
└──────┬──────┘     └──────┬──────┘     └──────┬──────┘
       │                   │                   │
       └───────────────────┼───────────────────┘
                           │
                           ▼
                    ┌─────────────┐
                    │  TraceHub   │
                    │   Server    │
                    └─────────────┘
                           │
                           ▼
                    ┌─────────────┐
                    │ checktrace  │
                    │    CLI      │
                    └─────────────┘
```

## Links

- **Full package:** https://pip.muid.io/simple/tracehub/
- **Client SDK:** https://pip.muid.io/simple/checktrace/
- **MUID.io:** https://muid.io

## License

MIT
checktrace 0.0.1
Placeholder for checktrace SDK. Install from pip.muid.io for full version.
Requires Python: >=3.8
Keywords: distributed, observability, placeholder, tracing

# 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

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

With FastAPI middleware support:

```bash
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)

```python
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

- **Full package:** https://pip.muid.io/simple/checktrace/
- **Documentation:** https://github.com/muid-io/checktrace
- **MUID.io:** https://muid.io

## License

MIT