diff options
Diffstat (limited to 'devel/py-opentelemetry-instrumentation-fastapi')
3 files changed, 44 insertions, 0 deletions
diff --git a/devel/py-opentelemetry-instrumentation-fastapi/Makefile b/devel/py-opentelemetry-instrumentation-fastapi/Makefile new file mode 100644 index 000000000000..64a370798eab --- /dev/null +++ b/devel/py-opentelemetry-instrumentation-fastapi/Makefile @@ -0,0 +1,35 @@ +PORTNAME= opentelemetry-instrumentation-fastapi +PORTVERSION= 0.55b1 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= opentelemetry_instrumentation_fastapi-${PORTVERSION} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= OpenTelemetry FastAPI Instrumentation +WWW= https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/instrumentation/opentelemetry-instrumentation-fastapi \ + https://github.com/open-telemetry/opentelemetry-python-contrib \ + https://opentelemetry.io/ + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}opentelemetry-api>=1.12<2:devel/py-opentelemetry-api@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}opentelemetry-instrumentation>=${PORTVERSION}<${PORTVERSION}_99:devel/py-opentelemetry-instrumentation@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}opentelemetry-instrumentation-asgi>=${PORTVERSION}<${PORTVERSION}_99:devel/py-opentelemetry-instrumentation-asgi@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}opentelemetry-semantic-conventions>=${PORTVERSION}<${PORTVERSION}_99:devel/py-opentelemetry-semantic-conventions@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}opentelemetry-util-http>=${PORTVERSION}<${PORTVERSION}_99:devel/py-opentelemetry-util-http@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 + +NO_ARCH= yes + +OPTIONS_DEFINE= INSTRUMENTS +OPTIONS_DEFAULT=INSTRUMENTS +INSTRUMENTS_DESC= Instrumentation library + +INSTRUMENTS_RUN_DEPENDS=${PYTHON_PKGNAMEPREFIX}asgiref>=3.0<4:www/py-asgiref@${PY_FLAVOR} + +.include <bsd.port.mk> diff --git a/devel/py-opentelemetry-instrumentation-fastapi/distinfo b/devel/py-opentelemetry-instrumentation-fastapi/distinfo new file mode 100644 index 000000000000..a700893740d5 --- /dev/null +++ b/devel/py-opentelemetry-instrumentation-fastapi/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1751208100 +SHA256 (opentelemetry_instrumentation_fastapi-0.55b1.tar.gz) = bb9f8c13a053e7ff7da221248067529cc320e9308d57f3908de0afa36f6c5744 +SIZE (opentelemetry_instrumentation_fastapi-0.55b1.tar.gz) = 20275 diff --git a/devel/py-opentelemetry-instrumentation-fastapi/pkg-descr b/devel/py-opentelemetry-instrumentation-fastapi/pkg-descr new file mode 100644 index 000000000000..dd969edf49f9 --- /dev/null +++ b/devel/py-opentelemetry-instrumentation-fastapi/pkg-descr @@ -0,0 +1,6 @@ +OpenTelemetry FastAPI Instrumentation provides automatic and manual +instrumentation of FastAPI web frameworks, instrumenting http requests served by +applications utilizing the framework. + +auto-instrumentation using the opentelemetry-instrumentation package is also +supported. |