Commit Graph

7 Commits

Author SHA1 Message Date
Mya Pitzeruse 4ed75d2c7e
feat: periodically reload underlying repository 2022-10-06 12:04:39 -05:00
Mya Pitzeruse f71c1e5c5a
fix: use new upstream address 2022-07-02 22:01:26 -05:00
Mya Pitzeruse 3660452152
feat(multi-tenant): add metric support for multiple domains 2022-07-02 11:09:02 -05:00
Mya Pitzeruse f8db96c717
fix(session): conditionally bind handler and log errors 2022-06-10 10:21:48 -05:00
Mya Pitzeruse 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
Mya Pitzeruse 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
Mya Pitzeruse 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