Download the PHP package arcana/laravel-pulse-s3-metrics without Composer
On this page you can find all versions of the php package arcana/laravel-pulse-s3-metrics. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download arcana/laravel-pulse-s3-metrics
More information about arcana/laravel-pulse-s3-metrics
Files in arcana/laravel-pulse-s3-metrics
Package laravel-pulse-s3-metrics
Short Description Fetch existing data usage and storage metrics from AWS CloudWatch for your S3 bucket and display them in your Laravel Pulse dashboard.
License MIT
Homepage https://github.com/arcana-softworks/laravel-pulse-s3-metrics
Informations about the package laravel-pulse-s3-metrics
S3 Metrics Card for Laravel Pulse
Fetch existing data usage and storage metrics from AWS CloudWatch for your S3 buckets and display them in a card on your Laravel Pulse dashboard.
Hire us
Developers at Arcana Softworks have been building business-class PHP applications for more than 10 years. Learn more about what we can do for you or your business.
Installation
You can install the package via composer:
You can optionally publish the config file with:
This is the contents of the published config file:
By default, this package will fetch metrics for the S3 bucket specified in your AWS_BUCKET
environment variable. You can override this by setting the bucket
config value.
One variable you may be missing is the AWS_STORAGE_CLASS
variable, which has been introduced by this package. This should be set to the storage class of your S3 bucket. The default value is StandardStorage
, which is the default storage class for S3 buckets. If you have a different storage class, you should set this variable to the appropriate value.
The region should be the region where your S3 metrics are stored on CloudWatch.
Install the Recorder
Publish the Laravel Pulse config so that you may add the S3 Metrics recorder:
This will publish the Pulse config to config/pulse.php
Add the S3 Metrics recorder to the recorders
section of the Pulse config:
Add the card to your Laravel Pulse dashboard
Publish the Laravel Pulse dashboard view:
This will publish the Pulse dashboard view to resources/views/vendor/pulse/dashboard.blade.php
Add the S3 Metrics card to your dashboard (the card looks best at full width):
Usage
The S3 Metrics card may not show metrics from your S3 bucket immediately. It may take up to 24 hours for metrics to be available on CloudWatch.
The recorder will run periodically whilst php artisan pulse:work
is running. You can run this command in a terminal window to start the recorder:
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- Liam Anderson
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-pulse-s3-metrics with dependencies
aws/aws-sdk-php Version ^3.0
illuminate/contracts Version ^10.0
laravel/pulse Version ^1.0@beta
livewire/livewire Version ^3.2
spatie/laravel-package-tools Version ^1.16.1