Additional metrics for run-as-root/prometheus-exporter
-
Install it into your Magento 2 project with composer:
composer require integer-net/magento2-prometheus-security-metrics
-
Enable module
bin/magento setup:upgrade
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
./vendor/bin/phpunit tests/unit
-
Configure test database in
dev/tests/integration/etc/install-config-mysql.php
. Read more in the Magento docs. -
Copy
tests/integration/phpunit.xml.dist
from the package todev/tests/integration/phpunit.xml
in your Magento installation. -
In that directory, run
../../../vendor/bin/phpunit
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.