Port details |
- py-django-prometheus Export Django monitoring metrics for Prometheus.io
- 2.3.1_1 www
=0 2.3.1Version of this port present on the latest quarterly branch. - Maintainer: kai@FreeBSD.org
![search for ports maintained by this maintainer search for ports maintained by this maintainer](/images/search.jpg) - Port Added: 2019-04-29 23:19:29
- Last Update: 2024-04-27 09:08:48
- Commit Hash: 680c68f
- Also Listed In: python
- License: APACHE20
- WWW:
- https://github.com/korfuri/django-prometheus
- Description:
- 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.
¦ ¦ ¦ ¦ ![SVNWeb SVNWeb](/images/subversion.png)
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}django-prometheus>0:www/py-django-prometheus@${PY_FLAVOR}
- Conflicts:
- CONFLICTS_INSTALL:
- Conflicts Matches:
-
There are no Conflicts Matches for this port. This is usually an error.
- To install the port:
- cd /usr/ports/www/py-django-prometheus/ && make install clean
- To add the package, run one of these commands:
- pkg install www/py-django-prometheus
- pkg install py39-django-prometheus
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py39-django-prometheus listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-django-prometheus
- Package flavors (<flavor>: <package>)
- py39: py39-django-prometheus
- distinfo:
- TIMESTAMP = 1683262385
SHA256 (django-prometheus-2.3.1.tar.gz) = f9c8b6c780c9419ea01043c63a437d79db2c33353451347894408184ad9c3e1e
SIZE (django-prometheus-2.3.1.tar.gz) = 24718
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-pytest-runner>0 : devel/py-pytest-runner@py39
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- Test dependencies:
-
- py39-pytest>=7,1 : devel/py-pytest@py39
- python3.9 : lang/python39
- Runtime dependencies:
-
- py39-django42>=3.2 : www/py-django42@py39
- py39-prometheus-client>=0.7 : net-mgmt/py-prometheus-client@py39
- py39-setuptools>=63.1.0 : devel/py-setuptools@py39
- python3.9 : lang/python39
- This port is required by:
- for Run
-
- net-mgmt/netbox
Configuration Options:
- ===> The following configuration options are available for py39-django-prometheus-2.3.1_1:
====> Options available for the group DATABASE
MYSQL=off: MySQL database support
PGSQL=off: PostgreSQL database support
====> Options available for the group CACHE
MEMCACHED=off: Memcached distributed memory caching support
REDIS=off: Redis key-value store database support
===> Use 'make config' to modify these settings
- Options name:
- www_py-django-prometheus
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
2.3.1_1 27 Apr 2024 09:08:48
![commit hash: 680c68fd4d6975dcfd20b2b74fd5dcfc53cdf233 commit hash: 680c68fd4d6975dcfd20b2b74fd5dcfc53cdf233](/images/git.png) ![commit hash: 680c68fd4d6975dcfd20b2b74fd5dcfc53cdf233 commit hash: 680c68fd4d6975dcfd20b2b74fd5dcfc53cdf233](/images/codeberg.svg) ![commit hash: 680c68fd4d6975dcfd20b2b74fd5dcfc53cdf233 commit hash: 680c68fd4d6975dcfd20b2b74fd5dcfc53cdf233](/images/github.svg) ![files touched by this commit files touched by this commit](/images/logs.gif) |
Kai Knoblich (kai) ![search for other commits by this committer search for other commits by this committer](/images/search.jpg) |
*: Switch consumers over to Django 4.2
Django 3.2 reached its End-of-Life on 1st April 2024 and Django 4.2 is
the new LTS (= Long Term Support) release which will be supported until
April 2026.
* Switch most ports that use www/py-django32 to www/py-django42.
* Ports that are not compatible with Django 3.2 have already been set
with an expiration date were not taken into account.
* Bump PORTREVISION due dependency change where necessary.
PR: 276319
Reviewed by: dvl, grembo, ultima
Approved by: bofh (implicit), dvl, grembo, Kevin Golding, sunpoet,
ultima, maintainer timeout (remaining maintainers)
Differential Revision: https://reviews.freebsd.org/D44637 |
2.3.1 27 Jun 2023 19:34:34
![commit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacb commit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacb](/images/git.png) ![commit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacb commit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacb](/images/codeberg.svg) ![commit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacb commit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacb](/images/github.svg) ![files touched by this commit files touched by this commit](/images/logs.gif) |
Rene Ladan (rene) ![search for other commits by this committer search for other commits by this committer](/images/search.jpg) |
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568> |
2.3.1 05 May 2023 05:43:54
![commit hash: 9090bf93b62df6fc9a837121bd96e5186a9c6ffb commit hash: 9090bf93b62df6fc9a837121bd96e5186a9c6ffb](/images/git.png) ![commit hash: 9090bf93b62df6fc9a837121bd96e5186a9c6ffb commit hash: 9090bf93b62df6fc9a837121bd96e5186a9c6ffb](/images/codeberg.svg) ![commit hash: 9090bf93b62df6fc9a837121bd96e5186a9c6ffb commit hash: 9090bf93b62df6fc9a837121bd96e5186a9c6ffb](/images/github.svg) ![files touched by this commit files touched by this commit](/images/logs.gif) |
Kai Knoblich (kai) ![search for other commits by this committer search for other commits by this committer](/images/search.jpg) |
www/py-django-prometheus: Update to 2.3.1
* Add test suite while I'm here.
Changelog since 2.2.0:
https://github.com/korfuri/django-prometheus/blob/v2.3.1/CHANGELOG.md |
2.2.0_1 11 Jan 2023 15:58:34
![commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656 commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656](/images/git.png) ![commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656 commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656](/images/codeberg.svg) ![commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656 commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656](/images/github.svg) ![files touched by this commit files touched by this commit](/images/logs.gif) |
Dmitry Marakasov (amdmi3) ![search for other commits by this committer search for other commits by this committer](/images/search.jpg) |
*/*: rename CHEESESHOP to PYPI in MASTER_SITES
PR: 267994
Differential revision: D37518
Approved by: bapt |
07 Sep 2022 21:58:51
![commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4](/images/git.png) ![commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4](/images/codeberg.svg) ![commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4](/images/github.svg) ![files touched by this commit files touched by this commit](/images/logs.gif) |
Stefan Eßer (se) ![search for other commits by this committer search for other commits by this committer](/images/search.jpg) |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
2.2.0_1 07 Sep 2022 21:10:59
![commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52](/images/git.png) ![commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52](/images/codeberg.svg) ![commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52](/images/github.svg) ![files touched by this commit files touched by this commit](/images/logs.gif) |
Stefan Eßer (se) ![search for other commits by this committer search for other commits by this committer](/images/search.jpg) |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
2.2.0_1 16 Jun 2022 16:28:33
![commit hash: 89acacbfee22729e7d1bfcce383d455bb88adfc3 commit hash: 89acacbfee22729e7d1bfcce383d455bb88adfc3](/images/git.png) ![commit hash: 89acacbfee22729e7d1bfcce383d455bb88adfc3 commit hash: 89acacbfee22729e7d1bfcce383d455bb88adfc3](/images/codeberg.svg) ![commit hash: 89acacbfee22729e7d1bfcce383d455bb88adfc3 commit hash: 89acacbfee22729e7d1bfcce383d455bb88adfc3](/images/github.svg) ![files touched by this commit files touched by this commit](/images/logs.gif) |
Kai Knoblich (kai) ![search for other commits by this committer search for other commits by this committer](/images/search.jpg) |
net-mgmt/netbox: Create Django 4.0 consumers
* Django 3.2 is currently the "default" version in the ports tree due
its long term support until April 2024. Thus ports that are assigned
to that version will exist until then.
The following ports are required to make the upgrade of
net-mgmt/netbox to the 3.2 release possible because it requires Django
4.0.
All of the ports listed below were created on the basis of their
respective original ports:
- devel/py-dj40-django-rq
- devel/py-dj40-graphene-django (Only the first 15 lines of the commit message are shown above ) |
2.2.0_1 28 Apr 2022 10:02:15
![commit hash: 0cf5531fcd38982e6667fb2b8561eae80c4902c3 commit hash: 0cf5531fcd38982e6667fb2b8561eae80c4902c3](/images/git.png) ![commit hash: 0cf5531fcd38982e6667fb2b8561eae80c4902c3 commit hash: 0cf5531fcd38982e6667fb2b8561eae80c4902c3](/images/codeberg.svg) ![commit hash: 0cf5531fcd38982e6667fb2b8561eae80c4902c3 commit hash: 0cf5531fcd38982e6667fb2b8561eae80c4902c3](/images/github.svg) ![files touched by this commit files touched by this commit](/images/logs.gif) |
Kai Knoblich (kai) ![search for other commits by this committer search for other commits by this committer](/images/search.jpg) |
www/py-django32: Switch consumers over to Django 3.2
Django 2.2 became End-of-Life on 11th April 2022 and Django 3.2 is the
new LTS (= Long Term Support) release which will be supported until
April 2024.
* Switch the most ports that use www/py-django22 to www/py-django32
* Switch www/seahub over to www/py-djangorestframework
* Ports that are not yet ready for Django 3.2 (only three so far) or
those that have already been set with an expiration date were not
taken into account.
* Bump PORTREVISION due dependency change where necessary.
PR: 261313
Reviewed by: bofh, dvl, koobs, ultima
Approved by: bofh, dvl, koobs, ultima, sunpoet, Kevin Golding, Ivan Rozhuk,
Alexander Sieg (maintainers)
maintainer timeout (remaining maintainers)
Differential Revision: https://reviews.freebsd.org/D34859 |
2.2.0 08 Jan 2022 13:16:04
![commit hash: 3ce5c520b30a35e5df02a515e7c75fb029abb178 commit hash: 3ce5c520b30a35e5df02a515e7c75fb029abb178](/images/git.png) ![commit hash: 3ce5c520b30a35e5df02a515e7c75fb029abb178 commit hash: 3ce5c520b30a35e5df02a515e7c75fb029abb178](/images/codeberg.svg) ![commit hash: 3ce5c520b30a35e5df02a515e7c75fb029abb178 commit hash: 3ce5c520b30a35e5df02a515e7c75fb029abb178](/images/github.svg) ![files touched by this commit files touched by this commit](/images/logs.gif) |
Kai Knoblich (kai) ![search for other commits by this committer search for other commits by this committer](/images/search.jpg) |
www/py-django-prometheus: Update to 2.2.0
Changelog:
https://github.com/korfuri/django-prometheus/blob/v2.2.0/CHANGELOG.md
MFH: 2022Q1 |
2.1.0 20 Jul 2021 12:26:05
![commit hash: fd76d1a5770102ebbf7653e96dc34910dcf6e01a commit hash: fd76d1a5770102ebbf7653e96dc34910dcf6e01a](/images/git.png) ![commit hash: fd76d1a5770102ebbf7653e96dc34910dcf6e01a commit hash: fd76d1a5770102ebbf7653e96dc34910dcf6e01a](/images/codeberg.svg) ![commit hash: fd76d1a5770102ebbf7653e96dc34910dcf6e01a commit hash: fd76d1a5770102ebbf7653e96dc34910dcf6e01a](/images/github.svg) ![files touched by this commit files touched by this commit](/images/logs.gif) |
Kai Knoblich (kai) ![search for other commits by this committer search for other commits by this committer](/images/search.jpg) |
*: Create Django 3.2 ports for net-mgmt/netbox
* Django 2.2 is currently the "default" version in the ports tree due
its long term support until April 2022. Thus ports that are assigned
to that version will exist until then.
The following ports are required to make the upgrade of
net-mgmt/netbox to the 2.11 release possible because it requires
Django 3.2. All of the ports listed below were created on the basis
of their respective original ports:
- devel/py-dj32-django-rq
- www/py-dj32-django-auth-ldap
- www/py-dj32-django-cacheops (updated to a newer release)
- www/py-dj32-django-cors-headers (Only the first 15 lines of the commit message are shown above ) |
2.1.0 07 Apr 2021 08:09:01
![commit hash: cf118ccf875508b9a1c570044c93cfcc82bd455c commit hash: cf118ccf875508b9a1c570044c93cfcc82bd455c](/images/git.png) ![commit hash: cf118ccf875508b9a1c570044c93cfcc82bd455c commit hash: cf118ccf875508b9a1c570044c93cfcc82bd455c](/images/codeberg.svg) ![commit hash: cf118ccf875508b9a1c570044c93cfcc82bd455c commit hash: cf118ccf875508b9a1c570044c93cfcc82bd455c](/images/github.svg) ![files touched by this commit files touched by this commit](/images/logs.gif) |
Mathieu Arnold (mat) ![search for other commits by this committer search for other commits by this committer](/images/search.jpg) |
One more small cleanup, forgotten yesterday.
Reported by: lwhsu |
2.1.0 06 Apr 2021 14:31:07
![commit hash: 305f148f482daf30dcf728039d03d019f88344eb commit hash: 305f148f482daf30dcf728039d03d019f88344eb](/images/git.png) ![commit hash: 305f148f482daf30dcf728039d03d019f88344eb commit hash: 305f148f482daf30dcf728039d03d019f88344eb](/images/codeberg.svg) ![commit hash: 305f148f482daf30dcf728039d03d019f88344eb commit hash: 305f148f482daf30dcf728039d03d019f88344eb](/images/github.svg) ![files touched by this commit files touched by this commit](/images/logs.gif) |
Mathieu Arnold (mat) ![search for other commits by this committer search for other commits by this committer](/images/search.jpg) |
Remove # $FreeBSD$ from Makefiles. |
2.1.0 21 Jan 2021 09:11:52
![Revision:562180 Revision:562180](/images/subversion.png) ![files touched by this commit files touched by this commit](/images/logs.gif) |
kai ![search for other commits by this committer search for other commits by this committer](/images/search.jpg) |
www/py-django-prometheus: Update to 2.1.0
Changelog:
https://github.com/korfuri/django-prometheus/blob/2.1.0/CHANGELOG.md |
2.0.0 10 Nov 2020 08:47:04
![Revision:554817 Revision:554817](/images/subversion.png) ![files touched by this commit files touched by this commit](/images/logs.gif) |
kai ![search for other commits by this committer search for other commits by this committer](/images/search.jpg) |
Create some ports that are assigned to Django 3.1 instead Django 2.2
* Django 2.2 is currently the "default" version in the ports tree due its
long term support until April 2022. Thus ports that are assigned to that
version will exist until then.
The following ports are required to make the upgrade of net-mgmt/netbox to
the 2.9 release possible because it requires Django 3.1 and provides no
backwards compatibility for previous versions of Django.
- www/py-dj31-django-rq
(copied from r539662 to use the 2.3.2 release for now)
- www/py-dj31-django-auth-ldap
- www/py-dj31-django-cacheops
- www/py-dj31-django-cors-headers (Only the first 15 lines of the commit message are shown above ) |
2.0.0 02 Nov 2020 07:15:54
![Revision:553888 Revision:553888](/images/subversion.png) ![files touched by this commit files touched by this commit](/images/logs.gif) |
kai ![search for other commits by this committer search for other commits by this committer](/images/search.jpg) |
www/py-django-prometheus: Update to 2.0.0
Changelog:
https://github.com/korfuri/django-prometheus/blob/2.0.0/CHANGELOG.md |
1.1.0_2 13 May 2020 20:44:23
![Revision:535179 Revision:535179](/images/subversion.png) ![files touched by this commit files touched by this commit](/images/logs.gif) |
sunpoet ![search for other commits by this committer search for other commits by this committer](/images/search.jpg) |
Update to 4.11.0
- Update RUN_DEPENDS: use Django 2.2
- Mark www/py-dj22-django-redis as DEPRECATED
- Update www/py-django-prometheus:
- Change RUN_DEPENDS from py-dj22-django-redis to py-django-redis
- Bump PORTREVISION for dependency change
Changes: https://github.com/jazzband/django-redis/releases
https://github.com/jazzband/django-redis/blob/master/CHANGES.rst
PR: 245522
Submitted by: kai |
1.1.0_1 03 Apr 2020 18:31:16
![Revision:530513 Revision:530513](/images/subversion.png) ![files touched by this commit files touched by this commit](/images/logs.gif) |
kai ![search for other commits by this committer search for other commits by this committer](/images/search.jpg) |
Assign some ports I maintain from Django 1.11 to Django 2.2
Django 1.11 is End-of-Life since April 2020 thus switch the following ports
to Django 2.2 (which has LTS support until April 2022):
* www/py-django-auth-ldap
* www/py-django-cacheops
* www/py-django-filter
* www/py-django-prometheus
Adjust the required Python version as Django 2.2 needs at least Python 3.5+
and bump the PORTREVISION for package change.
Mark the related py-dj22-* port variants as DEPRECATED because they're
obsolete now. Don't set an expiration date yet as they're still used by
some consumers and a few more Django 1.11 ports need to be assigned to
Django 2.2 first. |
1.1.0 13 Dec 2019 10:41:46
![Revision:520018 Revision:520018](/images/subversion.png) ![files touched by this commit files touched by this commit](/images/logs.gif) |
kai ![search for other commits by this committer search for other commits by this committer](/images/search.jpg) |
www/py-django-prometheus: Update to 1.1.0
Changelog:
* Maintenance release that updates the definitions of the supported Django
and Python versions.
* Drop support for Django 1.8, 2.0 and Python 3.3, 3.4 |
1.0.15 21 Jun 2019 19:25:38
![Revision:504808 Revision:504808](/images/subversion.png) ![files touched by this commit files touched by this commit](/images/logs.gif) |
kai ![search for other commits by this committer search for other commits by this committer](/images/search.jpg) |
New port: www/py-dj22-django-prometheus
Repocopy www/py-django-prometheus and assign it to Django 2.2. That port
will be required for the upcoming update of net-mgmt/netbox to 2.6.
Also limit the port to Python 3.5+ as Django 2.2 requires it as minimum
dependency and add the related CONFLICTS_INSTALL entries. |
1.0.15 29 Apr 2019 23:19:18
![Revision:500444 Revision:500444](/images/subversion.png) ![files touched by this commit files touched by this commit](/images/logs.gif) |
kai ![search for other commits by this committer search for other commits by this committer](/images/search.jpg) |
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) |