Commit graph

15 commits

Author SHA1 Message Date
Enrico Stahn
1181deb197
chore: golang 1.15 / golangci-lint action (#127) 2020-11-22 11:38:25 +11:00
Stan Xing
271748ee09
fix: support capturing SIGTERM signal to shutdown gracefully (#82) 2020-03-21 22:05:07 +11:00
Enrico Stahn
4a9fe13966
gometalinter replacement (#73)
* chore: replace gometalinter with golangci
  gometalinter is deprecated and replaced by golangci.
* chore: update go dependencies
* chore: fix lint errcheck reports
   golangci-lint reported multiple errcheck issues, e.g.

   ```
   Error return value of `p.Update` is not checked (errcheck)
   ```

* chore: GitHub actions replaces CircleCI
2020-03-04 16:34: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
4596f8c89b
Refactor environment mapping into separate function 2018-02-25 22:14:40 +11:00
Enrico Stahn
3ffe5787c8
More error checks thanks to errcheck 2018-02-25 21:45:46 +11:00
Enrico Stahn
daec91ff2c
Code-cleanup with goimports 2018-02-25 10:08:12 +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
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
252d8b9da1
Retrieve config information from environment variables 2018-02-20 12:33:36 +11:00
Enrico Stahn
0bf1933886
:goberserk: go fmt all the things 2018-02-19 10:53:19 +11:00
Enrico Stahn
55531314ed
Update package path 2018-02-18 20:51:02 +11:00
Enrico Stahn
dc0bdca466
Use local path to import local packages 2018-02-18 12:06:48 +11:00
Enrico Stahn
10db3f27ba Initial version 2018-02-17 23:42:58 +11:00