Commit Graph

4 Commits

Author SHA1 Message Date
f8db96c717
fix(session): conditionally bind handler and log errors 2022-06-10 10:21:48 -05:00
b07bbea0aa
feat(geoip): support maxmind
This change adds maxmind support for translating client IP addresses
to their country of origin. We decorate our metrics with this country
code to improve our understanding of users.

Resolves https://github.com/mjpitz/pages/issues/3
2022-06-09 10:49:55 -05:00
5b1ee690f9
feat(session): track active sessions
This changes adds a prometheus guage that can be used to approximate
the number of sessions for a given page or country.
2022-06-08 11:16:34 -05:00
02d115f682
feat(session): support session tracking
This change refactors a handful of components to make them reusable
across pageview and session tracking endpoints.

Resolves https://github.com/mjpitz/pages/issues/2
2022-06-08 10:55:21 -05:00