Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Apr 2026 09:58:21 +0000
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 928910456441 - main - www/py-prometheus-fastapi-instrumentator: New port: Instrument your FastAPI app with Prometheus metrics
Message-ID:  <69d4d53d.47809.5dc52eb5@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=928910456441b83e81b0843a9f778df25ea21c58

commit 928910456441b83e81b0843a9f778df25ea21c58
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-04-07 04:34:55 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-04-07 09:58:08 +0000

    www/py-prometheus-fastapi-instrumentator: New port: Instrument your FastAPI app with Prometheus metrics
---
 www/Makefile                                       |  1 +
 www/py-prometheus-fastapi-instrumentator/Makefile  | 24 ++++++++++++++++++++++
 www/py-prometheus-fastapi-instrumentator/distinfo  |  3 +++
 www/py-prometheus-fastapi-instrumentator/pkg-descr |  3 +++
 4 files changed, 31 insertions(+)

diff --git a/www/Makefile b/www/Makefile
index b2beef62db91..288db9e71365 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1881,6 +1881,7 @@
     SUBDIR += py-primp
     SUBDIR += py-priority
     SUBDIR += py-priority1
+    SUBDIR += py-prometheus-fastapi-instrumentator
     SUBDIR += py-protego
     SUBDIR += py-proxy.py
     SUBDIR += py-proxy_tools
diff --git a/www/py-prometheus-fastapi-instrumentator/Makefile b/www/py-prometheus-fastapi-instrumentator/Makefile
new file mode 100644
index 000000000000..26246da5b9b3
--- /dev/null
+++ b/www/py-prometheus-fastapi-instrumentator/Makefile
@@ -0,0 +1,24 @@
+PORTNAME=	prometheus-fastapi-instrumentator
+DISTVERSION=	7.1.0
+CATEGORIES=	www python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	${PORTNAME:S/-/_/g}-${DISTVERSION}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Instrument your FastAPI app with Prometheus metrics
+WWW=		https://github.com/trallnag/prometheus-fastapi-instrumentator
+
+LICENSE=	ISCL
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}poetry-core>=2.0:devel/py-poetry-core@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}prometheus-client>=0.8.0:net-mgmt/py-prometheus-client@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}starlette>=0.30.0:www/py-starlette@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	pep517 autoplist
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/www/py-prometheus-fastapi-instrumentator/distinfo b/www/py-prometheus-fastapi-instrumentator/distinfo
new file mode 100644
index 000000000000..62d192dae97b
--- /dev/null
+++ b/www/py-prometheus-fastapi-instrumentator/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1775500352
+SHA256 (prometheus_fastapi_instrumentator-7.1.0.tar.gz) = be7cd61eeea4e5912aeccb4261c6631b3f227d8924542d79eaf5af3f439cbe5e
+SIZE (prometheus_fastapi_instrumentator-7.1.0.tar.gz) = 20220
diff --git a/www/py-prometheus-fastapi-instrumentator/pkg-descr b/www/py-prometheus-fastapi-instrumentator/pkg-descr
new file mode 100644
index 000000000000..3192c576860b
--- /dev/null
+++ b/www/py-prometheus-fastapi-instrumentator/pkg-descr
@@ -0,0 +1,3 @@
+prometheus-fastapi-instrumentator is a Python library for automatically
+instrumentating FastAPI applications with Prometheus metrics. It provides
+request duration, size, and count metrics out of the box.


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69d4d53d.47809.5dc52eb5>