Date: Mon, 29 Apr 2019 23:19:18 +0000 (UTC) From: Kai Knoblich <kai@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r500444 - in head/www: . py-django-prometheus Message-ID: <201904292319.x3TNJINB095496@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kai Date: Mon Apr 29 23:19:18 2019 New Revision: 500444 URL: https://svnweb.freebsd.org/changeset/ports/500444 Log: New port: www/py-django-prometheus This library exports Django monitoring metrics for Prometheus.io. It provides support to monitor the following databases types: * SQLite (via Django) * PostgreSQL * MySQL In addition, caches can also be monitored: * memcached * Redis It's even possible to export metrics of Django models and migrations. WWW: https://github.com/korfuri/django-prometheus Approved by: mentors (implicit) Added: head/www/py-django-prometheus/ head/www/py-django-prometheus/Makefile (contents, props changed) head/www/py-django-prometheus/distinfo (contents, props changed) head/www/py-django-prometheus/pkg-descr (contents, props changed) Modified: head/www/Makefile Modified: head/www/Makefile ============================================================================== --- head/www/Makefile Mon Apr 29 22:22:27 2019 (r500443) +++ head/www/Makefile Mon Apr 29 23:19:18 2019 (r500444) @@ -1589,6 +1589,7 @@ SUBDIR += py-django-pipeline SUBDIR += py-django-post_office SUBDIR += py-django-profiles + SUBDIR += py-django-prometheus SUBDIR += py-django-pyscss SUBDIR += py-django-ranged-response SUBDIR += py-django-recaptcha Added: head/www/py-django-prometheus/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/py-django-prometheus/Makefile Mon Apr 29 23:19:18 2019 (r500444) @@ -0,0 +1,33 @@ +# $FreeBSD$ + +PORTNAME= django-prometheus +PORTVERSION= 1.0.15 +CATEGORIES= www python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= kai@FreeBSD.org +COMMENT= Export Django monitoring metrics for Prometheus.io + +LICENSE= APACHE20 + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django111>=1.8:www/py-django111@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}prometheus-client>=0.0.21:net-mgmt/py-prometheus-client@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist distutils + +NO_ARCH= yes + +OPTIONS_GROUP= DATABASE CACHE +OPTIONS_GROUP_DATABASE= MYSQL PGSQL +OPTIONS_GROUP_CACHE= MEMCACHED REDIS + +MEMCACHED_DESC= Memcached distributed memory caching support + +MEMCACHED_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python-memcached>=0:databases/py-python-memcached@${PY_FLAVOR} +MYSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mysqlclient>=0:databases/py-mysqlclient@${PY_FLAVOR} +PGSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psycopg2>=0:databases/py-psycopg2@${PY_FLAVOR} +REDIS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django-redis>=4.8:www/py-django-redis@${PY_FLAVOR} + +.include <bsd.port.mk> Added: head/www/py-django-prometheus/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/py-django-prometheus/distinfo Mon Apr 29 23:19:18 2019 (r500444) @@ -0,0 +1,3 @@ +TIMESTAMP = 1556181024 +SHA256 (django-prometheus-1.0.15.tar.gz) = e8da2eb91cb20cfe0b8130305d34f3503766b7a08a244ce1031c36136beeb7a5 +SIZE (django-prometheus-1.0.15.tar.gz) = 13708 Added: head/www/py-django-prometheus/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/py-django-prometheus/pkg-descr Mon Apr 29 23:19:18 2019 (r500444) @@ -0,0 +1,16 @@ +This library exports Django monitoring metrics for Prometheus.io. + +It provides support to monitor the following databases types: + +* SQLite (via Django) +* PostgreSQL +* MySQL + +In addition, caches can also be monitored: + +* memcached +* Redis + +It's even possible to export metrics of Django models and migrations. + +WWW: https://github.com/korfuri/django-prometheus
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904292319.x3TNJINB095496>