Closed kubosuke closed 9 months ago
fastly: able to visualize metrics but not per /goto/ paths
If we could deploy workloads to Google Cloud we can do:
but it's too much and in this assignment we need to use fly.io so cannot go with this way
reinventing wheels but realistic approach:
sample
how to map ip => continent:
${hash}:${continent}
Goal
Plan1
Count how many times they visit with Redis, then show with LiveView and Chart.js => poor and I/O causes bad performance, don't want to go this way if possible
Plan2
Use BetterStack to visualize logs
it'd be nice for each list of URLs to have its usage report dashboard, that contains source geoIP, UA, etc
Plan3
Push metrics into ELK and visualize in Kibana
Plan4
Put CDN in front of fly.io and let it visualize metrics (is there such a CDN service?)