Commit graph

245 commits

Author SHA1 Message Date
Smoked Cheese
25dd7b3bc2
Fix exporter metrics 2018-03-05 17:16:54 +03:00
Enrico Stahn
3e50283ea8
Remove space before dot. 2018-03-01 17:10:29 +11:00
Enrico Stahn
e2df39c1b6
Add Grafana dashboard link to README.md 2018-03-01 17:09:33 +11:00
Enrico Stahn
fd58e84d40
Add missing metrics to Exporter.Describe() 2018-03-01 11:07:51 +11:00
Enrico Stahn
9d75397387
Merge pull request #16 from hipages/metric-process-duration
Export new metric phpfpm_process_request_duration and update README.md
2018-03-01 10:57:24 +11:00
Enrico Stahn
a0270607e8
Export new metric phpfpm_process_request_duration and update README.md 2018-03-01 10:54:12 +11:00
Enrico Stahn
e2698ace96
Merge pull request #13 from hipages/add-code-of-conduct-1
Create CODE_OF_CONDUCT.md
2018-02-28 23:22:02 +11:00
Enrico Stahn
b608a7f233
Create CODE_OF_CONDUCT.md 2018-02-28 23:21:23 +11:00
Enrico Stahn
a00bd5b50d
* Fix evaluation when to recalculate metrics
* Rename "CalculateProcessScoreboard" to "CountProcessState"
2018-02-28 22:22:35 +11:00
Enrico Stahn
7e6f6c32c5
Rename label for phpfpm_processes_* from pid to pid_hash 2018-02-28 15:53:04 +11:00
Enrico Stahn
514090d054
Move cc-test-reporter to local for now 2018-02-28 14:04:55 +11:00
Enrico Stahn
62075f71e6
Update golang builds to 1.10 and enable code coverage 2018-02-28 14:02:59 +11:00
Enrico Stahn
5cb6877018
Enable https://probot.github.io/apps/stale/ 2018-02-28 13:34:12 +11:00
Enrico Stahn
7d2ecbabc3
Merge pull request #11 from hipages/unknown-states
#9 Fix Unknown states and Inconsistent processes error message
2018-02-28 12:23:19 +11:00
Enrico Stahn
fa1e63b2d4
Spelling, spelling, spelling... 2018-02-28 12:14:46 +11:00
Enrico Stahn
17c4226677
Add docker pulls badge 2018-02-28 12:13:10 +11:00
Enrico Stahn
30ef74d2eb
Add testify in golang dep and update dependencies 2018-02-28 12:12:36 +11:00
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