ipresence/monitoring

1.0.1 2019-01-17 07:56 UTC

This package is auto-updated.

Last update: 2024-04-17 19:18:22 UTC


README

Build Status

This project defines a common interface to be able to monitor you application. It has an adapter ready to be used, but feel free to use or add any adapter you need.

How to use it with Symfony

There is a bundle extension that will automatically create a monitor definition in the dependency injection container. You just need to add IPresence\Monitoring\Symfony\MonitoringBundle::class in your bundles.php file and this will load the monitoring.yaml config located inside config/packages/. You can see an example of configuration here

Development environment

To build the test environment you'll need docker and docker-compose installed:

make dev

Running the tests

make test

You can run the tests only for a php version like this

make unit PHP_VERSION=7.3

Stop the environment

make nodev

Delete the environment

You can delete the docker images for a total clean-up

 make nodev IMAGES=true