Andrew Dunkman (he/him)
Andrew Dunkman (he/him)
These may be account-level resources instead of environment-specific.
I really wish they logged in a place we could see. :sigh:
We already use CloudWatch metric alarms for AWS ElasticSearch, so this should be a pretty straightforward implementation.
https://github.com/18F/aws-admin is a reference.
Be sure we have guidance around what is considered a page view/how it would be reported to DAP.
As shared by Tim, the [Code Capabilities Summary and Reference](https://github.com/digital-analytics-program/gov-wide-code/blob/master/documentation/GSA%20DAP%204.1%20-%20DAP%20Code%20Capabilities%20Summary%20and%20Reference.pdf) document covers Virtual Pageview Tracking, which is designed for sending single-page app page view data.
There are also auditing requirements here with logs, @lauraGgit should be in this convo too. We have a kickoff tomorrow to generate a to-log list and discuss retention.
Log indicates the response finished successfully (statusCode 200): ```json { "environment": { "color": "green", "stage": "mig" }, "request": { "headers": { "accept": "*/*", "host": "api-green.mig.ef-cms.ustaxcourt.gov", "user-agent": "curl/7.64.1", "x-amzn-trace-id": "Root=1-5fe24429-346b04634e181ce03d3b1ae7", "x-forwarded-for":...
Looks like there is a [6MB cap on payloads](https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html).
Note: this is happening in test and migration, not production. Appears to be related to the documentContents.