Metadata-Version: 2.4
Name: fastapi-telemetry
Version: 0.0.1
Summary: Prometheus metrics middleware, circuit breaker listener, and metric helpers for FastAPI — zero project-specific dependencies
Project-URL: Homepage, https://github.com/acikabubo/fastapi-telemetry
Project-URL: Repository, https://github.com/acikabubo/fastapi-telemetry
Project-URL: Issues, https://github.com/acikabubo/fastapi-telemetry/issues
Author-email: Aleksandar Krsteski <acikabubo@gmail.com>
License: MIT
Keywords: circuit-breaker,fastapi,metrics,middleware,observability,prometheus
Classifier: Development Status :: 1 - Planning
Classifier: Framework :: FastAPI
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: System :: Monitoring
Classifier: Typing :: Typed
Requires-Python: >=3.11
Provides-Extra: all
Requires-Dist: prometheus-client>=0.20.0; extra == 'all'
Requires-Dist: pybreaker>=1.2.0; extra == 'all'
Provides-Extra: prometheus
Requires-Dist: prometheus-client>=0.20.0; extra == 'prometheus'
Provides-Extra: pybreaker
Requires-Dist: pybreaker>=1.2.0; extra == 'pybreaker'
Description-Content-Type: text/markdown

# fastapi-telemetry

> **Name reserved — active development coming soon.**

Prometheus metrics middleware, circuit breaker listener, and metric helpers for FastAPI.

## Planned Features

- `PrometheusMiddleware` — HTTP request duration, count, and in-flight metrics out of the box
- `CircuitBreakerMetricsListener` — pybreaker listener that exports circuit breaker state to Prometheus
- Pre-built metric helpers — labelled counters and histograms for common patterns (auth attempts, cache hits, WS messages)
- `/metrics` endpoint integration — drop-in Prometheus scrape endpoint
- Optional `prometheus-client` and `pybreaker` extras (core package has zero dependencies)

## Status

This package is a name reservation. Implementation will follow.

Follow progress at: https://github.com/acikabubo/fastapi-telemetry

## License

MIT
