infinite-industries / infinite

MIT License
5 stars 3 forks source link

API Analytics #52

Open chriswininger opened 4 years ago

chriswininger commented 4 years ago

We need more visibility into the health and usage of the API, from both an operations standpoint and a business standpoint:

Things we would like to track:

Considerations:

Some Ideas/ frameworks to look at:

chriswininger commented 4 years ago

Currently Investigating a graphana solution:

https://medium.com/@chamerling/getting-metrics-from-your-express-app-without-effort-with-docker-and-grafana-ac8f6c42cbfb

This is more of a role your own approach but does a fair amount for us

There is also Azure Application Insights (AI):

https://youtu.be/jCfJWYocz1M https://youtu.be/pqZF8LjBh68

This would be available if we switched to hosting our application as an Azure Web Application. This sounds a bit like AWS Fargate and may be something we should consider:

Nginx Layer:

https://medium.com/faun/total-nginx-monitoring-with-application-performance-and-a-bit-more-using-8fc6d731051b

We could also try to extract the metrics from nginx which may actually capture some things we'll miss at the node level, but this would go away if we switched to Azure Web Application