PHP code example of dreamfactory / df-exporter-prometheus
1. Go to this page and download the library: Download dreamfactory/df-exporter-prometheus library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
dreamfactory / df-exporter-prometheus example snippets
text
# HELP dreamfactory_api_requests_total The total amount of API requests processed
# TYPE dreamfactory_api_requests_total counter
# HELP php_info Information about the PHP environment.
# TYPE php_info gauge