Giter VIP home page Giter VIP logo

docker-fpm-wrapper's People

Contributors

asp24 avatar miktwon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

docker-fpm-wrapper's Issues

Add FPM healthcheck endpoint for using in k8s

We are using k8s and needed to configure a livenessProbe [1] for pods with nginx + docker-fpm-wrapper (fpm).

It will be nice if docker-fpm-wrapper will provide a way to use different FPM metrics for control container health.

Feature list for configuring health check may be inspired by renatomefi/php-fpm-healthcheck[2], such as:

  • ping mode
  • listen queue length
  • etc.

[1] https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/
[2] https://github.com/renatomefi/php-fpm-healthcheck

panic

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x7dcbe7]
goroutine 148042 [running]:
github.com/code-tool/docker-fpm-wrapper/pkg/phpfpm.GetStats(0xc42001f671, 0xc, 0xc42001f6e1, 0xe, 0x0, 0x0, 0x0)
	/home/travis/gopath/src/github.com/code-tool/docker-fpm-wrapper/pkg/phpfpm/status.go:50 +0x307
github.com/code-tool/docker-fpm-wrapper/fpmPrometeus.(*stat).UpdateStatuses.func1(0xc42026c8d0, 0xc42075d920, 0xc42075d860)
	/home/travis/gopath/src/github.com/code-tool/docker-fpm-wrapper/fpmPrometeus/fpmPrometeus.go:58 +0x4e
created by github.com/code-tool/docker-fpm-wrapper/fpmPrometeus.(*stat).UpdateStatuses
	/home/travis/gopath/src/github.com/code-tool/docker-fpm-wrapper/fpmPrometeus/fpmPrometeus.go:57 +0xe5

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.