Commit graph

17 commits

Author SHA1 Message Date
Enrico Stahn
4596f8c89b
Refactor environment mapping into separate function 2018-02-25 22:14:40 +11:00
Enrico Stahn
3ffe5787c8
More error checks thanks to errcheck 2018-02-25 21:45:46 +11:00
Enrico Stahn
daec91ff2c
Code-cleanup with goimports 2018-02-25 10:08:12 +11:00
Enrico Stahn
62276d310f
* Add ability to calculate correct idle/active/total processes #6
* Expose PHP-FPM Pool metrics #4
2018-02-25 00:36:13 +11:00
Enrico Stahn
f3d7296080
* Shutdown server gracefully
* Remove unused customLabel variables
* Rename title/body text from apache exporter
2018-02-24 22:13:18 +11:00
Enrico Stahn
c8e7b5c5b5
Remove "phpfpm.label-name" and "phpfpm.label-value" since it's not needed due to prometheus relabelling 2018-02-24 21:42:13 +11:00
Enrico Stahn
4f0d801b64
Set log level from environment variable PHP_FPM_LOG_LEVEL 2018-02-20 13:43:52 +11:00
Enrico Stahn
252d8b9da1
Retrieve config information from environment variables 2018-02-20 12:33:36 +11:00
Enrico Stahn
11b8bfd57c
Remove dev gunk 2018-02-20 10:07:08 +11:00
Enrico Stahn
445e0aeac9
Set default log level to info 2018-02-20 09:50:00 +11:00
Enrico Stahn
058139cea2
Add version information 2018-02-19 19:49:25 +11:00
Enrico Stahn
f56543e484
Add package documentation 2018-02-19 12:12:34 +11:00
Enrico Stahn
f9df1401cd
Fix golint issues 2018-02-19 11:45:35 +11:00
Enrico Stahn
0bf1933886
:goberserk: go fmt all the things 2018-02-19 10:53:19 +11:00
Enrico Stahn
55531314ed
Update package path 2018-02-18 20:51:02 +11:00
Enrico Stahn
dc0bdca466
Use local path to import local packages 2018-02-18 12:06:48 +11:00
Enrico Stahn
10db3f27ba Initial version 2018-02-17 23:42:58 +11:00