gnomad-browser icon indicating copy to clipboard operation
gnomad-browser copied to clipboard

Monitoring for API response times

Open nawatts opened this issue 4 years ago • 1 comments

Based on logs from #705

nawatts avatar Feb 04 '21 13:02 nawatts

Log based distribution metrics seem like the way to go about this.

https://cloud.google.com/logging/docs/logs-based-metrics#distribution_metrics

nawatts avatar Feb 19 '21 14:02 nawatts

Note that we get backend response times from the load balancer metrics, and have mostly been using percentile latencies from this to measure/understand performance.

I think the underlying ask here is to provide more specific latency metrics from the graphql resolvers to better understand performance within the app, which is probably still worth doing.

But, I'm going to close this as done, since the latency from the perspective of the load balancer seems to get the job done as far as I'm concerned. The ratio of 502s to successful requests seems to be one of the more actionable metrics as well, which we're monitoring and alerting on via https://console.cloud.google.com/monitoring/alerting/policies/12568548432416248771?organizationId=43663619702&project=exac-gnomad

sjahl avatar Apr 02 '24 17:04 sjahl