Enrico Stahn
7a8d7a9422
ci: Consolidate lint into test
2018-06-27 09:39:23 +10:00
Enrico Stahn
d9e3c6f233
ci: Automatically create a tag upon merge to master
2018-06-27 09:37:38 +10:00
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
2ff01451e2
doc: Add isitmaintained.com badge
2018-05-24 19:44:23 +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
Enrico Stahn
a40daa1d8b
Move CC_TEST_REPORTER_ID into circle.yml for pull requests
2018-03-17 15:45:55 +11:00
Enrico Stahn
bef3900051
Move CC_TEST_REPORTER_ID into circle.yml for pull requests
2018-03-17 15:42:27 +11:00
Enrico Stahn
8f38f948a3
Merge pull request #18 from Nyoroon/patch-1
...
Fix: Swapped `start since` / `accepted conenctions`
2018-03-06 09:08:12 +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
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