An open API service indexing awesome lists of open source software.

https://github.com/vcian/pulse-docker-monitor

A Laravel Pulse card for Docker Monitor
https://github.com/vcian/pulse-docker-monitor

docker docker-monitor laravel laravel-pulse pulse

Last synced: about 1 month ago
JSON representation

A Laravel Pulse card for Docker Monitor

Awesome Lists containing this project

README

        

![Packagist License (custom server)](https://img.shields.io/packagist/l/vcian/pulse-docker-monitor
)
![Packagist Downloads (custom server)](https://img.shields.io/packagist/dt/vcian/pulse-docker-monitor
)

Docker Monitor Card For Laravel Pulse

##

_About_

This card will monitor your docker containers and show container statistics with Cpu & Memory Load.



Docker Monitor Card

##

_Installation_



Prerequisites


Please check the official laravel installation guide for server requirements before you start. [Official Documentation]

Require the package with Composer:

```shell
composer require vcian/pulse-docker-monitor
```

Next, you should publish the Pulse configuration and migration files using the vendor:publish Artisan command:

```shell
php artisan vendor:publish --provider="Laravel\Pulse\PulseServiceProvider"
```

Next, you should run the migration for required tables

```shell
php artisan migrate
```

##

Register the recorder

Right now, the Composer dependencies will only be checked once per day. To run the checks you must add the PulseDockerMonitorRecorder to the pulse.php file.

```diff
return [
// ...

'recorders' => [
+ \Vcian\Pulse\PulseDockerMonitor\Recorders\PulseDockerMonitorRecorder::class => [],
]
]
```

You also need to be running the pulse:check command.

##

Add to your dashboard

To add the card to the Pulse dashboard, you must first [publish the vendor view]

Then, you can modify the dashboard.blade.php file:

```diff

+

```

To make pulse recorders will automatically capture entries based on framework events dispatched by Laravel, You must run the below command.

```shell
php artisan pulse:check
```
##

Security

If you discover any security-related issues, please email [email protected] instead of using the issue tracker.

##

Credits

- [All Contributors](../../contributors)

##

License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.