Skip to content

Commit 6ba6752

Browse files
authored
Merge pull request internetarchive#10980 from cdrini/hotfix/ol-web-monitoring
Fix log_workers_cur_fn monitor not catch openlibrary-server
2 parents 2170d89 + 3be6bcf commit 6ba6752

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/monitoring/utils.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ log_workers_cur_fn() {
5959
# related to requests connection pooling
6060
# - get_availability|get_api_response: Main time block for IA requests
6161

62-
for pid in $(ps aux | grep 'gunicorn' | grep -v 'grep' | awk '{print $2}'); do
62+
for pid in $(ps aux | grep -E 'openlibrary-server|coverstore-server' | grep -v 'grep' | awk '{print $2}'); do
6363
echo "$pid $(py_spy_cur_fn $pid)";
6464
done 2>/dev/null \
6565
| awk '{print $2}' \

0 commit comments

Comments
 (0)