Download the PHP package jonnx/laravel-timeseries-metrics without Composer
On this page you can find all versions of the php package jonnx/laravel-timeseries-metrics. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download jonnx/laravel-timeseries-metrics
More information about jonnx/laravel-timeseries-metrics
Files in jonnx/laravel-timeseries-metrics
Package laravel-timeseries-metrics
Short Description easily create timeseries of metrics from your db queries
License MIT
Informations about the package laravel-timeseries-metrics
Larvel Timeseries Metrics
A simple package to generate a base table of timestamps daily to simplify the creating and maintaining of timeseries metrics and usage graphs over time. The base table should be maintained automatically which is the entire purpose of this package. The generated table will look as follows:
Getting Started
Add the reposistory
Add the Service Provider in
Publish Vendor Files for Laravel Timeseries Metrics
Run Migrations
Update Backfill Config
change the interval_backfill config to the date you need to go back to. This depends on when you launched your project and how far back your data goes.
Schedule Command
the command will generate a full backfill of records the first time its run and if called in the scheduler, will generate additional records as needed (ie. when a day has passed). To do this automatically, add the following to your :
Contributing
Thank you for considering contributing to this package! Since this package is used with Laravel, please follow these guidelines: https://laravel.com/docs/5.5/contributions
Security Vulnerabilities
If you discover a security vulnerability within this package, please contact Jonas Weigert. All security vulnerabilities will be promptly addressed.
License
The Larvel Timeseries Metrics package is licensed under the MIT license.