fastapi-telemetry 0.0.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,55 @@
1
+ Metadata-Version: 2.4
2
+ Name: fastapi-telemetry
3
+ Version: 0.0.1
4
+ Summary: Prometheus metrics middleware, circuit breaker listener, and metric helpers for FastAPI — zero project-specific dependencies
5
+ Project-URL: Homepage, https://github.com/acikabubo/fastapi-telemetry
6
+ Project-URL: Repository, https://github.com/acikabubo/fastapi-telemetry
7
+ Project-URL: Issues, https://github.com/acikabubo/fastapi-telemetry/issues
8
+ Author-email: Aleksandar Krsteski <acikabubo@gmail.com>
9
+ License: MIT
10
+ Keywords: circuit-breaker,fastapi,metrics,middleware,observability,prometheus
11
+ Classifier: Development Status :: 1 - Planning
12
+ Classifier: Framework :: FastAPI
13
+ Classifier: Intended Audience :: Developers
14
+ Classifier: License :: OSI Approved :: MIT License
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Programming Language :: Python :: 3.11
17
+ Classifier: Programming Language :: Python :: 3.12
18
+ Classifier: Programming Language :: Python :: 3.13
19
+ Classifier: Topic :: Internet :: WWW/HTTP
20
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
21
+ Classifier: Topic :: System :: Monitoring
22
+ Classifier: Typing :: Typed
23
+ Requires-Python: >=3.11
24
+ Provides-Extra: all
25
+ Requires-Dist: prometheus-client>=0.20.0; extra == 'all'
26
+ Requires-Dist: pybreaker>=1.2.0; extra == 'all'
27
+ Provides-Extra: prometheus
28
+ Requires-Dist: prometheus-client>=0.20.0; extra == 'prometheus'
29
+ Provides-Extra: pybreaker
30
+ Requires-Dist: pybreaker>=1.2.0; extra == 'pybreaker'
31
+ Description-Content-Type: text/markdown
32
+
33
+ # fastapi-telemetry
34
+
35
+ > **Name reserved — active development coming soon.**
36
+
37
+ Prometheus metrics middleware, circuit breaker listener, and metric helpers for FastAPI.
38
+
39
+ ## Planned Features
40
+
41
+ - `PrometheusMiddleware` — HTTP request duration, count, and in-flight metrics out of the box
42
+ - `CircuitBreakerMetricsListener` — pybreaker listener that exports circuit breaker state to Prometheus
43
+ - Pre-built metric helpers — labelled counters and histograms for common patterns (auth attempts, cache hits, WS messages)
44
+ - `/metrics` endpoint integration — drop-in Prometheus scrape endpoint
45
+ - Optional `prometheus-client` and `pybreaker` extras (core package has zero dependencies)
46
+
47
+ ## Status
48
+
49
+ This package is a name reservation. Implementation will follow.
50
+
51
+ Follow progress at: https://github.com/acikabubo/fastapi-telemetry
52
+
53
+ ## License
54
+
55
+ MIT
@@ -0,0 +1,23 @@
1
+ # fastapi-telemetry
2
+
3
+ > **Name reserved — active development coming soon.**
4
+
5
+ Prometheus metrics middleware, circuit breaker listener, and metric helpers for FastAPI.
6
+
7
+ ## Planned Features
8
+
9
+ - `PrometheusMiddleware` — HTTP request duration, count, and in-flight metrics out of the box
10
+ - `CircuitBreakerMetricsListener` — pybreaker listener that exports circuit breaker state to Prometheus
11
+ - Pre-built metric helpers — labelled counters and histograms for common patterns (auth attempts, cache hits, WS messages)
12
+ - `/metrics` endpoint integration — drop-in Prometheus scrape endpoint
13
+ - Optional `prometheus-client` and `pybreaker` extras (core package has zero dependencies)
14
+
15
+ ## Status
16
+
17
+ This package is a name reservation. Implementation will follow.
18
+
19
+ Follow progress at: https://github.com/acikabubo/fastapi-telemetry
20
+
21
+ ## License
22
+
23
+ MIT
@@ -0,0 +1,51 @@
1
+ [project]
2
+ name = "fastapi-telemetry"
3
+ version = "0.0.1"
4
+ description = "Prometheus metrics middleware, circuit breaker listener, and metric helpers for FastAPI — zero project-specific dependencies"
5
+ readme = "README.md"
6
+ requires-python = ">=3.11"
7
+ license = { text = "MIT" }
8
+ authors = [
9
+ { name = "Aleksandar Krsteski", email = "acikabubo@gmail.com" },
10
+ ]
11
+ keywords = ["fastapi", "prometheus", "metrics", "circuit-breaker", "middleware", "observability"]
12
+ classifiers = [
13
+ "Development Status :: 1 - Planning",
14
+ "Intended Audience :: Developers",
15
+ "License :: OSI Approved :: MIT License",
16
+ "Programming Language :: Python :: 3",
17
+ "Programming Language :: Python :: 3.11",
18
+ "Programming Language :: Python :: 3.12",
19
+ "Programming Language :: Python :: 3.13",
20
+ "Framework :: FastAPI",
21
+ "Topic :: Internet :: WWW/HTTP",
22
+ "Topic :: System :: Monitoring",
23
+ "Topic :: Software Development :: Libraries :: Python Modules",
24
+ "Typing :: Typed",
25
+ ]
26
+
27
+ dependencies = []
28
+
29
+ [project.optional-dependencies]
30
+ prometheus = [
31
+ "prometheus-client>=0.20.0",
32
+ ]
33
+ pybreaker = [
34
+ "pybreaker>=1.2.0",
35
+ ]
36
+ all = [
37
+ "prometheus-client>=0.20.0",
38
+ "pybreaker>=1.2.0",
39
+ ]
40
+
41
+ [project.urls]
42
+ Homepage = "https://github.com/acikabubo/fastapi-telemetry"
43
+ Repository = "https://github.com/acikabubo/fastapi-telemetry"
44
+ Issues = "https://github.com/acikabubo/fastapi-telemetry/issues"
45
+
46
+ [build-system]
47
+ requires = ["hatchling"]
48
+ build-backend = "hatchling.build"
49
+
50
+ [tool.hatch.build.targets.wheel]
51
+ packages = ["src/fastapi_telemetry"]
@@ -0,0 +1,3 @@
1
+ """fastapi-telemetry — Prometheus metrics middleware and circuit breaker listener for FastAPI."""
2
+
3
+ __version__ = "0.0.1"