Skip to content

Simple docker-compose with php-aoache container with mod_status as virtualhost and the prometheus exporter to feed it

License

Notifications You must be signed in to change notification settings

danifernandezs/docker-compose-php-apache-modstatus-prometheusexporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP-Apache, mod status, prometheus and Grafana

Simple docker-compose with php-apache container with mod_status as virtualhost and the prometheus exporter.

To test it, i used a phpinfo document

I add prometheus and Grafana with the datasource and dashboards auto-imported

All containers used the "expose" parameter to use this port for the docker-networks, not linked with the node.

Apache mod_status

The mod_status are enabled by default.
I modified the "listen" ports, at file ~/apache-configs/ports.conf and create a new virtualhost to this port and only serve the apache metrics.
This virtualhost it's going to be used with the prometheus-apache-exporter

All containers used

License

This work is under Creative Commons Attribution-ShareAlike 4.0 International License.

Please read the LICENSE files for more details.

About

Simple docker-compose with php-aoache container with mod_status as virtualhost and the prometheus exporter to feed it

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages