Enrico Stahn
d96eb71d76
ci: Bump deploy step to go 1.11
2018-12-31 10:13:41 +11:00
Enrico Stahn
3dd1a09105
refactor: Add label-schema.org to Dockerfile
2018-12-31 10:12:31 +11:00
Enrico Stahn
c9bc617e36
chore: Ignore goreleaser dist directory
2018-12-31 10:12:03 +11:00
Enrico Stahn
22afc6cc4e
chore: Update goreleaser config for docker
...
goreleaser deprecated their docker settings and uses image_templates
now.
2018-12-31 10:10:10 +11:00
Enrico Stahn
8b64a58900
fix: Invalid PHP-FPMs request uri encoding ( #37 )
...
* fix: hashids multiple-value context (#32 )
* feat: Add method to fix invalid JSON content
* chore: Add test for issue #24
* chore: Use golang modules
* fix: Set alias to satisfy gofmt
2018-12-29 20:15:27 +11:00
Enrico Stahn
b95fe70b9c
refactor: Go 1.11 and other refactorings ( #36 )
...
* ci: Use docker multi-stage builds
* refactor: Migrate from dep to go mod
* ci: Add Makefile to simplify builds
* ci: Upgrade to golang 1.11
* refactor: Run goimports for formatting
2018-12-10 21:32:28 +11:00
Enrico Stahn
dd22cba9fe
doc: Add codetriage badge
2018-12-05 08:37:36 +11:00
Enrico Stahn
4dd1801463
fix: publish step for semantic release missing
2018-06-27 09:51:55 +10:00
Enrico Stahn
48c997cd6c
ci: release job requires tests to succeed
2018-06-27 09:42:14 +10:00
Enrico Stahn
2f56cf24d5
ci: Remove workdir for release job
2018-06-27 09:40:59 +10:00
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