|
41 | 41 |
|
42 | 42 | - `prod` analysis: `` DEBUG=1 NO_ECHO=1 STAGE=prod REGION=us-east-1 DTFROM='10 days ago' DTTO='1 second ago' OUT=api-logs-prod.json ./utils/search_aws_logs.sh 'LG:api-request-path' && jq -r '.[].message' api-logs-prod.json | grep -o 'LG:api-request-path:[^[:space:]]*' | sed 's/^LG:api-request-path://' | sed -E 's/[0-9a-fA-F-]{36}/<uuid>/g' | sed -E 's/\b[0-9]{2,}\b/<id>/g' | sort | uniq -c | sort -nr ``: |
43 | 43 | ``` |
44 | | - 377727 /v2/github/activity |
45 | | - 1783 /v2/repository-provider/github/sign/<id>/<id>/<id> |
46 | | - 347 /v2/github/installation |
47 | | - 212 /v2/project/<uuid> |
48 | | - 211 /v2/user/<uuid> |
49 | | - 187 /v2/user/<uuid>/active-signature |
50 | | - 157 /v2/check-prepare-employee-signature |
51 | | - 146 /v2/return-url/<uuid> |
52 | | - 61 /v2/request-employee-signature |
| 44 | + 529509 /v2/github/activity |
| 45 | + 2572 /v2/repository-provider/github/sign/<id>/<id>/<id> |
| 46 | + 534 /v2/github/installation |
| 47 | + 332 /v2/project/<uuid> |
| 48 | + 327 /v2/user/<uuid> |
| 49 | + 296 /v2/user/<uuid>/active-signature |
| 50 | + 234 /v2/return-url/<uuid> |
| 51 | + 228 /v2/check-prepare-employee-signature |
| 52 | + 89 /v2/request-employee-signature |
53 | 53 | 16 /v1/file/icon/seo/<uuid>.png |
54 | | - 8 /v2/gerrit/<uuid>/corporate/agreementUrl.html |
55 | | - 7 /v1/user/gerrit |
| 54 | + 13 /v2/gerrit/<uuid>/corporate/agreementUrl.html |
| 55 | + 9 /v1/user/gerrit |
56 | 56 | 2 /v2/health |
57 | | - 1 /v2/user-from-token |
58 | | - 1 /v2/repository-provider/github/icon.svg |
59 | 57 | ``` |
60 | 58 |
|
61 | | -- `dev` analysis (but this can contain API calls made by developer and not actually used): `` DEBUG=1 STAGE=dev REGION=us-east-1 DTFROM='10 days ago' DTTO='1 second ago' OUT=api-logs-dev.json ./utils/search_aws_logs.sh 'LG:api-request-path' && jq -r '.[].message' api-logs-prod.json | grep -o 'LG:api-request-path:[^[:space:]]*' | sed 's/^LG:api-request-path://' | sed -E 's/[0-9a-fA-F-]{36}/<uuid>/g' | sed -E ':a;s#/([0-9]{1,})(/|$)#/<id>\2#g;ta' | sort | uniq -c | sort -nr ``: |
| 59 | +- `dev` analysis (but this can contain API calls made by developer and not actually used): `` DEBUG=1 STAGE=dev REGION=us-east-1 DTFROM='10 days ago' DTTO='1 second ago' OUT=api-logs-dev.json ./utils/search_aws_logs.sh 'LG:api-request-path' && jq -r '.[].message' api-logs-dev.json | grep -o 'LG:api-request-path:[^[:space:]]*' | sed 's/^LG:api-request-path://' | sed -E 's/[0-9a-fA-F-]{36}/<uuid>/g' | sed -E ':a;s#/([0-9]{1,})(/|$)#/<id>\2#g;ta' | sort | uniq -c | sort -nr ``: |
62 | 60 | ``` |
63 | 61 | 113 /v2/project/<uuid> |
64 | 62 | 53 /v2/user/<uuid> |
|
67 | 65 | 13 /v2/repository-provider/github/sign/<id>/<id>/<id> |
68 | 66 | 12 /v2/user-from-token |
69 | 67 | 8 /v2/github/installation |
70 | | - 5 /v2/health |
71 | | - 1 /v2/users/company/abcd |
72 | | - 1 /v2/user-from-session |
| 68 | + 6 /v2/health |
73 | 69 | 1 /v2/return-url/<uuid> |
| 70 | + 1 /v2/gerrit/<uuid>/individual/agreementUrl.html |
74 | 71 | 1 /v2/check-prepare-employee-signature |
75 | | - 1 /v1/users/company/abcd |
76 | 72 | ``` |
77 | 73 |
|
78 | 74 |
|
0 commit comments