-
Notifications
You must be signed in to change notification settings - Fork 128
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
[Jormungandr] monitor jormungandr #4112
Conversation
@@ -49,6 +49,6 @@ RUN a2ensite 000-default.conf \ | |||
|
|||
HEALTHCHECK CMD curl -f http://localhost/v1 || exit 1 | |||
|
|||
EXPOSE 80 | |||
EXPOSE 80 9091 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, so not using apache on the new health endpoint.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm asking myself if you should not also specify the port 5050
which is exposed for uwsgi stats.
docker/run_jormungandr.sh
Outdated
@@ -1,14 +1,27 @@ | |||
#!/usr/bin/env bash | |||
|
|||
app_processes=${1-1} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So first arg, and default value is 1
.
❤️ bash
docker/run_jormungandr.sh
Outdated
function show_help() { | ||
cat << EOF | ||
Usage: ${0##*/} -j jormungandr-processes -m monitor-processes -r max-requests | ||
-j jormungandr-processes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
below, the naming is app_processes:
-j jormungandr-processes | |
-a app-processes number |
docker/run_jormungandr.sh
Outdated
cat << EOF | ||
Usage: ${0##*/} -j jormungandr-processes -m monitor-processes -r max-requests | ||
-j jormungandr-processes | ||
-m [0|1] monitor-processes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-m [0|1] monitor-processes | |
-m [0|1] activate monitor-process |
Kudos, SonarCloud Quality Gate passed! |
Jira: NAV-2329