3scale / apisonator

Red Hat 3scale API Management Apisonator backend
https://3scale.net
Apache License 2.0
35 stars 27 forks source link

Enable Prometheus metrics when using Falcon #178

Closed davidor closed 4 years ago

davidor commented 4 years ago

Closes #176

Same as we did for Puma in #174 but now for Falcon. This PR updates Falcon to the latest version available, because the one that we were using does not support the --preload <path> option that we need. Also, it seems that there's a bug in the 0.35.x versions of Falcon that makes it ignore the first SIGTERM received. I've opened an issue about that (https://github.com/socketry/falcon/issues/109) and implemented the workaround in this PR.