notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
py-dj50-django-prometheus Export Django monitoring metrics for Prometheus.io
2.3.1_1 www on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 2.3.1Version of this port present on the latest quarterly branch.
Maintainer: kai@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2024-07-15 17:15:14
Last Update: 2024-10-06 14:27:02
Commit Hash: 275e271
People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

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}dj50-django-prometheus>0:www/py-dj50-django-prometheus@${PY_FLAVOR}
Conflicts:
CONFLICTS_INSTALL:
  • py311-*django-prometheus
To install the port:
cd /usr/ports/www/py-dj50-django-prometheus/ && make install clean
To add the package, run one of these commands:
  • pkg install www/py-dj50-django-prometheus
  • pkg install py311-dj50-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 py311-dj50-django-prometheus listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-dj50-django-prometheus
Package flavors (<flavor>: <package>)
  • py311: py311-dj50-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):
py311-dj50-django-prometheus
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2.3.1_12.3.1_1-2.3.1_12.3.1_1---
FreeBSD:13:quarterly2.3.1_12.3.1_1--2.3.1_1---
FreeBSD:14:latest2.3.1_12.3.1_1-2.3.1_12.3.1_1---
FreeBSD:14:quarterly2.3.1_12.3.1_1--2.3.1_1---
FreeBSD:15:latest2.3.1_12.3.1_1n/a2.3.1_1n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-setuptools>0 : devel/py-setuptools@py311
  2. py311-wheel>=0.40.0 : devel/py-wheel@py311
  3. python3.11 : lang/python311
  4. py311-build>=0 : devel/py-build@py311
  5. py311-installer>=0 : devel/py-installer@py311
Test dependencies:
  1. py311-pytest>=7,1 : devel/py-pytest@py311
  2. python3.11 : lang/python311
Runtime dependencies:
  1. py311-django50>=3.2 : www/py-django50@py311
  2. py311-prometheus-client>=0.7 : net-mgmt/py-prometheus-client@py311
  3. python3.11 : lang/python311
This port is required by:
for Run
  1. net-mgmt/netbox

Configuration Options:
===> The following configuration options are available for py311-dj50-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-dj50-django-prometheus
USES:
python:3.10+
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/d/django-prometheus/
  2. https://pypi.org/packages/source/d/django-prometheus/
Collapse this list.

Number of commits found: 2

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2.3.1_1
06 Oct 2024 14:27:02
commit hash: 275e2714acec8dd628886ee81d107a3d0547f67ccommit hash: 275e2714acec8dd628886ee81d107a3d0547f67ccommit hash: 275e2714acec8dd628886ee81d107a3d0547f67ccommit hash: 275e2714acec8dd628886ee81d107a3d0547f67c files touched by this commit
Kai Knoblich (kai) search for other commits by this committer
www/py-dj50-django-prometheus: Convert to PEP517

* Switch to the PEP517 build framework and remove py-pytest-runner as a
  build time dependency while I'm here, because upstream of it has
  archived the project with the following notice:

  pytest-runner depends on deprecated features of setuptools and relies
  on features that break security mechanisms in pip. For example
  'setup_requires' and 'tests_require' bypass pip --require-hashes.
  See also https://github.com/pypa/setuptools/issues/1684

* Bump PORTREVISION due package change.
2.3.1
15 Jul 2024 16:58:00
commit hash: 9dcfcfc7df21a2c7863fdc512398d4d96a91e41bcommit hash: 9dcfcfc7df21a2c7863fdc512398d4d96a91e41bcommit hash: 9dcfcfc7df21a2c7863fdc512398d4d96a91e41bcommit hash: 9dcfcfc7df21a2c7863fdc512398d4d96a91e41b files touched by this commit
Kai Knoblich (kai) search for other commits by this committer
net-mgmt/netbox: Create Django 5.0 consumers

* Django 4.2 is currently the "default" version in the ports tree due
  its long term support until April 2026.  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 4.0 release possible because it requires
  Django 5.0.

  All of the ports listed below were created on the basis of their
  respective original ports:

  - devel/py-dj50-django-rq
  - devel/py-dj50-strawberry-graphql
(Only the first 15 lines of the commit message are shown above View all of this commit message)

Number of commits found: 2