Download the PHP package fidum/laravel-dashboard-vapor-metrics-tile without Composer
On this page you can find all versions of the php package fidum/laravel-dashboard-vapor-metrics-tile. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download fidum/laravel-dashboard-vapor-metrics-tile
More information about fidum/laravel-dashboard-vapor-metrics-tile
Files in fidum/laravel-dashboard-vapor-metrics-tile
Package laravel-dashboard-vapor-metrics-tile
Short Description Vapor environment, cache and database metrics tiles for laravel dashboard
License MIT
Homepage https://github.com/fidum/laravel-dashboard-vapor-metrics-tile
Informations about the package laravel-dashboard-vapor-metrics-tile
Vapor Metrics Tile
Displays metrics for all of your laravel vapor projects - caches, databases and environment metrics and charts included!
Installation
You can install the package via composer:
Usage
In the dashboard
config file, you must add this configuration in the tiles
key. There are separate settings for
caches
, databases
and environments
.
In app\Console\Kernel.php
you should schedule the below to run every x
minutes. Only add the commands where you have configured the related tiles above.
In your dashboard view you can use one or all or multiple of each of these components. The tileName
and position
attributes are required. The tileName
attribute value needs to match the name specified in the config:
For charts an additional type
value should be provided to select which chart to show:
cli-avg-duration
: Average CLI Invocation Duration (ms)cli-invocations-total
: CLI Invocationshttp-requests-avg-duration
: Average HTTP Request Duration (ms)http-requests-total
: HTTP Requestsqueue-avg-duration
: Average Queue Invocation Duration (ms)queue-invocations-total
: Queue Invocations
The charts use fidum/laravel-dashboard-chart-tile internally. You can use the below additional properties for further customisation:
height
sets the height of the chart, depending on your dashboard layout you may need to adjust this (defaults to100%
).refreshIntervalInSeconds
use this to override the refresh rate of an individual tile (defaults to above configured setting)
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email :author_email instead of using the issue tracker.
Credits
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-dashboard-vapor-metrics-tile with dependencies
fidum/laravel-dashboard-chart-tile Version ^6.0
laravel/vapor-cli Version ^1.60
spatie/laravel-dashboard Version ^3.0