Commit graph

278 commits

Author SHA1 Message Date
Enrico Stahn
6de4433881
Emulate PHP-FPMs metrics calculations for --phpfpm.fix-process-count 2018-02-28 12:12:10 +11:00
Enrico Stahn
afbeb201b1
#10 Add TestCannotUnmarshalNumberIssue10 2018-02-28 12:10:03 +11:00
Enrico Stahn
30c59244ea
Only run a couple of linters 2018-02-27 19:44:15 +11:00
Enrico Stahn
e7f93a3bf8
Increase gometalinter deadline to 5m 2018-02-27 19:39:52 +11:00
Enrico Stahn
3ada457d13
Rename CalculateProcessScoreboard to CountProcessState 2018-02-27 19:35:45 +11:00
Enrico Stahn
1066444ca1
Refactor CalculateProcessScoreboard and states 2018-02-27 19:32:52 +11:00
Enrico Stahn
a25479edf3
Remove float64 conversion; Export phpfpm_process_state metric 2018-02-27 19:31:31 +11:00
Enrico Stahn
456032fcde
Add section "Why --phpfpm.fix-process-count?" to README.md 2018-02-27 19:29:50 +11:00
Enrico Stahn
742e7149dd
Add comment for version variable 2018-02-27 19:29:26 +11:00
Enrico Stahn
356c681dfc
Enable all linters except errcheck and lll 2018-02-27 19:29:02 +11:00
Enrico Stahn
317e65f893
#9 Update metrics documentation 2018-02-27 15:57:50 +11:00
Enrico Stahn
fa24ebae1a
#9 Fix Unknown states and Inconsistent processes error message 2018-02-27 15:45:53 +11:00
Enrico Stahn
07154a3a86
Merge pull request #7 from hipages/code-cleanup
Code cleanup
2018-02-26 15:00:56 +11:00
Enrico Stahn
698089f84c
* Add an example for environment variable usage
* Update Metrics collected section
2018-02-26 09:36:01 +11:00
Enrico Stahn
4596f8c89b
Refactor environment mapping into separate function 2018-02-25 22:14:40 +11:00
Enrico Stahn
e3385e0a31
Update README.md 2018-02-25 22:06:23 +11:00
Enrico Stahn
d119057d0e
Disable errcheck linter 2018-02-25 21:46:14 +11:00
Enrico Stahn
3ffe5787c8
More error checks thanks to errcheck 2018-02-25 21:45:46 +11:00
Enrico Stahn
38b9c07ab7
Enable only some linters 2018-02-25 11:20:36 +11:00
Enrico Stahn
5ddcff2dc8
Add vendors for linting job 2018-02-25 11:17:56 +11:00
Enrico Stahn
ad238dacbe
Fixing CircleCI workflow 2018-02-25 11:13:14 +11:00
Enrico Stahn
90766c44b6
Add Kubernets Example section header 2018-02-25 11:10:08 +11:00
Enrico Stahn
86c787e350
Split test and lint for CircleCI 2018-02-25 10:18:47 +11:00
Enrico Stahn
daec91ff2c
Code-cleanup with goimports 2018-02-25 10:08:12 +11:00
Enrico Stahn
49a24fd68f
Add comments to constants 2018-02-25 00:41:46 +11:00
Enrico Stahn
c0b2ce6bd8
Fix go vet error 2018-02-25 00:39:06 +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
4071a9abb5
Merge branch 'master' of github.com:hipages/php-fpm_exporter 2018-02-24 22:05:47 +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
4c2b30357e
Merge pull request #5 from hipages/scrape-failures
Add metrics "phpfpm_up" and "phpfpm_scrape_failures" to report on scr…
2018-02-22 16:08:35 +11:00
Enrico Stahn
dc5bc0ae6e
Update "Metrics collected" in README.md 2018-02-22 16:06:07 +11:00
Enrico Stahn
510d087da9
Fix: Label pool.Name on metric was missing 2018-02-22 16:05:49 +11:00
Enrico Stahn
a23e9f0c27
Remove unused package "fmt" 2018-02-22 15:44:28 +11:00
Enrico Stahn
8303048f5e
Add metrics "phpfpm_up" and "phpfpm_scrape_failures" to report on scraping issues (#2) 2018-02-22 15:41:27 +11:00
Enrico Stahn
255e2fa6d0
Release binaries instead of archives 2018-02-21 16:25:43 +11:00
Enrico Stahn
9c9ed7ad04
Release binaries instead of archives 2018-02-21 16:25:21 +11:00
Enrico Stahn
a554453c42
Add asciinema demo 2018-02-20 14:54:36 +11:00
Enrico Stahn
54fecfad3b
Update docker-compose example 2018-02-20 14:43:24 +11:00
Enrico Stahn
cf5fd6de28
Update README.md with log.level details 2018-02-20 13:45:18 +11:00
Enrico Stahn
160d6e72f5
Move docker-compose.yml and prometheus.yml into test directory 2018-02-20 13:45:00 +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
695caeeb25
Add exporter to docker-compose.yml 2018-02-20 13:31:49 +11:00
Enrico Stahn
76cd02aba3
Update README.md 2018-02-20 12:34:04 +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
422448006e
Use CGO_ENABLED=0 for the build to get a working docker image 2018-02-19 19:48:35 +11:00
Enrico Stahn
de116a4b65
Remove USER nobody from Dockerfile 2018-02-19 16:30:40 +11:00