Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/nginx stub module SCO-154254 #475

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

ls-spryker
Copy link

@ls-spryker ls-spryker commented Jan 11, 2024

Description

This proposal is to add nginx stub module to enable status reporting.

It is a part of [SRE O11y observability project]
(https://spryker.atlassian.net/wiki/spaces/SCOS/pages/3934913114/O11Y+NextGen+Solution+Architecture).

Rationale behind is that we intend to collect nginx stats from frontend containers used by our customers.
Current solution work as long as the frontend image which is built by docker-sdk for each customer is using the image ENTRYPOINT set to /entrypoint.sh here and the entrypoint.sh itself executes anything with put to the image COMMAND as specified here. If any of these changes in the docker-sdk some way, our COMMAND rewrite can start breaking the frontend container completely. And since we keep this change outside of docker-sdk, it's quite easy to overlook it during docker-sdk development process.

Setting the stub module on as default by enabling it on docker-sdk solves above problem.

Related resources

https://github.com/spryker-projects/sre-services/pull/74/#discussion_r1427641574

Change log

Enabled nginx stub module. The ngx_http_stub_status_module module provides access to basic status information.
By default status is reachable via http://localhost/nginx_status

Checklist

  • I agree with the Code Contribution License Agreement in CONTRIBUTING.md

@ls-spryker ls-spryker marked this pull request as ready for review January 12, 2024 08:38
@oleg-glushak
Copy link

Any blockers to merge it @ls-spryker @alexanderM91 ?

@oleg-glushak oleg-glushak self-requested a review March 18, 2024 13:26
@oleg-glushak
Copy link

ping @alexanderM91 @ls-spryker

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants