Prometheus php-fpm exporter

notes:
Release list
2.2.0
1y+
2.1.0
1y+
2.0.4
1y+
2.0.3
1y+
2.0.2
1y+
2.0.1
1y+
2.0.0
1y+
1.2.1
1y+
1.1.1
1y+
1.1.0
1y+
1.0.0
1y+
0.5.3
1y+
0.5.2
1y+
0.5.1
1y+
0.5.0: Implement unix socket support and make status path configurable (#23)
1y+
0.4.1 - Fix: Swapped `start since` / `accepted conenctions`
1y+
0.4.0
1y+
0.3.1
1y+
0.3.0
1y+
0.2.0 – Calculate correct idle/active/total processes
1y+
Release notes:

This release fixes #9 and how we calculate metrics for --phpfpm.fix-process-count. We will emulate PHP-FPM behaviour with active, idle and total.

We have also renamed the label pid to pid_hash to make it clear it's not the actual process ID.

Breaking changes

  • Rename label for phpfpm_processes_* from pid to pid_hash

Changelog

7e6f6c3 Rename label for phpfpm_processes_* from pid to pid_hash 514090d Move cc-test-reporter to local for now 62075f7 Update golang builds to 1.10 and enable code coverage 5cb6877 Enable https://probot.github.io/apps/stale/ 7d2ecba Merge pull request #11 from hipages/unknown-states fa1e63b Spelling, spelling, spelling... 17c4226 Add docker pulls badge 30ef74d Add testify in golang dep and update dependencies 6de4433 Emulate PHP-FPMs metrics calculations for --phpfpm.fix-process-count afbeb20 #10 Add TestCannotUnmarshalNumberIssue10 30c5924 Only run a couple of linters e7f93a3 Increase gometalinter deadline to 5m 3ada457 Rename CalculateProcessScoreboard to CountProcessState 1066444 Refactor CalculateProcessScoreboard and states a25479e Remove float64 conversion; Export phpfpm_process_state metric 456032f Add section "Why --phpfpm.fix-process-count?" to README.md 742e714 Add comment for version variable 356c681 Enable all linters except errcheck and lll 317e65f #9 Update metrics documentation fa24eba #9 Fix Unknown states and Inconsistent processes error message 07154a3 Merge pull request #7 from hipages/code-cleanup 698089f * Add an example for environment variable usage * Update Metrics collected section 4596f8c Refactor environment mapping into separate function e3385e0 Update README.md d119057 Disable errcheck linter 3ffe578 More error checks thanks to errcheck 38b9c07 Enable only some linters 5ddcff2 Add vendors for linting job ad238da Fixing CircleCI workflow 90766c4 Add Kubernets Example section header 86c787e Split test and lint for CircleCI daec91f Code-cleanup with goimports

Docker images

  • docker pull hipages/php-fpm_exporter:0.3.0

Automated with GoReleaser Built with go version go1.10 linux/amd64

Copyright © 2023 - All right reserved by Yadoc SAS