Stanislav Antic
03d87088d7
fix: json: cannot unmarshal number ( #28 )
...
* fixes hipages/php-fpm_exporter#26
* better comments & fix tests
2018-06-27 09:23:50 +10:00
Enrico Stahn
8a0c89d182
Implement unix socket support and make status path configurable ( #23 )
...
* Implement unix socket support and make status path configurable (Thx @herb123456 for the initial implementation) #19 #22
* Follow linting guidelines
* Follow linting guidelines
* Move `env` to where it's being used
2018-03-18 12:23:38 +11:00
Smoked Cheese
b1f016d250
Update exporter.go
2018-03-05 17:18:27 +03:00
Smoked Cheese
25dd7b3bc2
Fix exporter metrics
2018-03-05 17:16:54 +03:00
Enrico Stahn
fd58e84d40
Add missing metrics to Exporter.Describe()
2018-03-01 11:07:51 +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
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
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
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
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
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
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
f56543e484
Add package documentation
2018-02-19 12:12:34 +11:00
Enrico Stahn
21868b09cc
©️ Add copyright section
2018-02-19 12:11:23 +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
10db3f27ba
✨ Initial version
2018-02-17 23:42:58 +11:00