Salta al contenuto

Monitoring API activity - Does AWS have a function that could help

1

We’re looking for some kind of URL or API monitoring tool that allows us to measure how many hits certain URLs receive and segment by parameters/basic auth/headers.

Our API is currently located on an EC2 and written in Laravel

posta 3 anni fa523 visualizzazioni
1 Risposta
2

Application and access logs can be monitored by outputting them to CloudWatch logs and setting up metrics filters.
https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/MonitoringLogData.html

For example, the API "/api/exemple" can be filtered and metrics such as number of accesses, number of failed executions, etc. can be set.

Another external monitoring is CloudWatch synthetics.
This allows the API to be periodically executed by CloudWatch and detected as an anomaly when it fails.
https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries.html

ESPERTO
con risposta 3 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.