Changelog

0.7.0 (under development)

0.6.2

  • Added missing installation instruction.
  • Documentation building is now part of the CI tests.

0.6.1

  • Fix release bundling.

0.6.0

  • Added permission support for metrics. Users with is_staff=True can now be given access to each metric individually.
  • The get_postgres_metrics() template tag now returns only metrics the current user (taken from the request object in the template context) has access to. This means the 'django.template.context_processors.request' context processor is now required.
  • The documentation now has an intersphinx setup to Python 3 and Django
  • The hard dependency on psycopg2 was dropped because installing wheel files of psycopg2 can be troublesome as outlined by the project maintainers. When using django-postgres-metrics you now need to install psycopg2 or psycopg2-binary explicitly. This is usually not an issue as either one is required by Django anyway to use Django’s PostgreSQL database backend.
  • Added a Detailed Index Usage metric that shows the index usage off a table per index.

0.5.0

  • Added the list of metrics on a metric’s detail page

0.4.0

  • Underscores in metric column headers are now replaced by spaces
  • The IndexUsage now shows floating point percentages
  • Added IndexSize and TableSize
  • Added per metric record and record item styling

0.3.0

  • Added description to setup.py
  • The metric results can now be sorted on any column

0.2.0

  • Switched to Read The Docs theme for docs.
  • Added “Available Extensions” metric.
  • Fixed table styling in metric views. The tables now look more like Django Admin’s ChangeList

0.1.1

  • Excluded tests from built packages.

0.1.0

  • Initial Release