- Updated to work with Django 3+
- Added pyproject.toml setup configuration.
- Removed travis setup
- Added pip-tools to manage requirements.
- Dropped support for Python 2 (Python 3.6+ only)
- Support for Django 2.2. Thanks to Derek Marsh for
PR #62 <https://github.com/bradmontgomery/django-redis-metrics/pull/62>_. - Updated Docs.
- Added support for using ISO Week numbers. Thanks to Elias Laitinen for PR #61 <https://github.com/bradmontgomery/django-redis-metrics/pull/61>_)
- Removed the bundled font-awesome files in favor of using the CDN-hosted version. (see Issue #57 and PR #58).
- UI improvements for default templates (see Issue #55.) including viewing aggregates per Category.
- Changed the formatting of aggregate_detail and aggregate_history template tags.
- Removed the returned tabular_data value from the aggregate_history template tag.
- Included inline styles for template tags so chart legends display correctly.
- Updated Bootstrap to 3.3.7
- Upgrade to Chart.js 2.2.2
- Added font-awesome.
- Added support for a
to
argument inR.get_metric_history
, so you can specify a date range for metrics. (PR #54, Thanks @stephanpoetschner). - Updated the
metric_history
tag so that it also accepts ato
argument.
- Added a
coerce
parameter to thegauge
template tag, and changed the default behavior so that guage values are listed at floats. - Included a better default layout for gauges.
- Updating documentation.
- Removed {% load url from future %} to be compatible with django 1.9 (PR #52, thanks Phoebe Bright!)
- This release introduces pluggable Redis backends. See Issue #49 and PR #50. Thanks Seamus Mac Conaonaigh!
- Fixed regression resulting in duplicate metrics (issue #48)
- Fixed setup.py so all static files get distributed.
- And also fixed the Manifest.
- Dropped support for Django versions prior to 1.7
- Support for Python 3 (issue #28)
- Testing under Django 1.8 (issue #39)
- Introduced the
REDIS_METRICS
settings (issue #46) - Bundled Bootstrap and revised the default templates (issue #38)
- Created Proper docs for readthedocs.org (issue #29)
- Support for importing of historical data (PR #44 thanks @smaccona)
- bugfix: Include javascript static files in setup.py. (PR #41)
- support for weekly stats starting on mondays (PR #16)
- optimized redis writes (#37)
- Lower-cased JS files: changed
Colors.js
tocolors.js
andChart.min.js
tochart.min.js
- Refactored the way we pull settings within the app, added
settings.AppSettings
to do this. - Added new settings:
REDIS_METRICS_MIN_GRANULARITY
andREDIS_METRICS_MAX_GRANULARITY
(Issue #34) - Dropping support for 1.5 (which just means I'm not testing against it)
- Replaced Google Charts with Chart.js (Issue #21)
- Added the ability to set a metric's value rather than increment it via the
set_metric
function (Issue #20) - Support for metrics at a granularity of Seconds, Minutes, and Hours, (#24 and #13, thanks @mvillarejo)
- Autodecode data from redis (PR #18, thanks @jellonek)
- Changed
utils.generate_test_metrics
so it only generates metrics at the daily and above level. - Potential Breaking change: Always store dates & times in UTC
- Potential Breaking change: Change the way we store Metric & Gauge Slugs: Store only the slugs, not the redis keys.
- Added a
fix_redis_metrics_keys
command to migrate data for previous versions.
- Now Uses redis sets to store category slugs (thanks @remohammadi!)
- Minor changes to support Django 1.6
- Replaced Django's
SortedDict
withcollections.OrderedDict
- Support for Redis password, socket timeout, and connection pool parameters. Thanks @charles-vdulac!
- Default templates are now less hideous.
- Separated list of gauges and metrics into separate views.
- Added template tags:
metric_list
,metric_detail
,metric_history
,aggregate_detail
,aggregate_history
, andmetrics_since
. - Added a
gauge
template tag. - Added methods & management commands to delete metrics & gauges
- Updated email templates for the
redis_metrics_send_mail
command. - Added a
system_metric
managment command - Added ability to expire a metric
- added category parameter to the
metric
function :-/ - hooked up Travis-CI
- Added Categorization for metrics
- Added a management command to generate random metrics (for testing)
MetricHistoryView
andAggregateHistoryView
accept asince
querystring parameter to specify the date from which reports are generated.- 100% Test coverage
- Backwards Incompatible Change: Changed the underlying Redis key for weekly metrics. See Issue #7 for a description of this bug.
- Added a management command--
reset_weekly_metrics
--that allows you to change the keys for weekly metrics - Minor changes to the default templates
- Support for Django 1.5's configurable User Model (only used in tests)
- Lazily instantiate R in
utils
so installing this actually works. - Fixed the
redis_metrics_send_mail
command (Issue #2) - Improvements to default templates
- Ability to view metrics in Aggregate. See the
AggregateFormView
,AggregateDetailView
, andAggregateHistoryView
- Metric history reported in a columnar format. See
R.get_metric_history_as_columns
. - New Template tag:
metric_slug
- Various Bug Fixes
- Initial Release