50 Commits
Author SHA1 Message Date
junv 47ebf81c44 Add db pool properties 2024-08-31 10:05:04 +10:00
junv 5ad98945ec use internal url for prometheus server 2022-04-03 20:06:34 +10:00
junv d253f671c6 refine ddtrace 2022-03-26 09:23:23 +11:00
junv 17fefbbb28 Try to add datadog apm 2021-10-21 16:17:50 +11:00
junv 69e2abe92f Add logic to save api value 2021-10-13 15:37:13 +11:00
junv d209a6d0c4 Add new badge type API_VALUE 2021-10-13 12:04:41 +11:00
junvandGitHub 1d2712121b Update main.go 2021-04-16 14:02:52 +10:00
junv 762ed49cf7 Add feature toggle api, tried to reduce frontend size 2021-01-26 23:23:00 +11:00
junv 2871b71dbe add stats 2021-01-25 13:45:50 +11:00
junv 0574550c5a only reply on db to get view count 2021-01-25 07:19:31 +11:00
junv f47c219513 Use db to store view count 2021-01-23 08:45:22 +11:00
junv 7b0da3a5dc Add login support 2020-09-05 16:25:29 +10:00
junv c263cdd381 Make create badge works in both annoymous and logged in mode 2020-09-05 10:26:30 +10:00
junv 41643fb01b Add endpoint to authenticate a user 2020-09-04 16:32:29 +10:00
junv b902cf5183 Add frontend login 2020-09-03 10:08:08 +10:00
junv a2c2f6136c remove some useless endpoints 2020-09-02 10:37:43 +10:00
junv 8a32a7ceb8 Add sentry 2020-09-02 10:32:33 +10:00
junv bb541c73cf Add support for multiple color scheme 2020-08-23 17:50:27 +10:00
junv c58f20c00b Add API for creating a badge 2020-08-17 15:29:11 +10:00
junv 449b566784 try to get headers 2020-08-15 23:20:06 +10:00
junv b683c4a29f UPDATE DB setting 2020-08-15 12:31:03 +10:00
junv 00be294fe2 Update Kubernetes manifest with db setting 2020-08-15 12:15:25 +10:00
junv 9db74aaf5b Add db layer to store all the badges instad of using memory type of map 2020-08-15 12:09:39 +10:00
junv b548379d04 Add favicon and robots.txt 2020-08-10 17:01:12 +10:00
junv d429239e05 Add page 2020-08-09 16:27:12 +10:00
junv 551a012fda make the badge expires in a mintue to make the stats more accurate 2020-08-09 15:48:08 +10:00
junv 77fbe78e3d css styling 2020-08-08 00:03:58 +10:00
junv 6ee6b6f77c css styling 2020-08-07 23:55:15 +10:00
junv 9aff21c74e add badges for various github pagess 2020-08-06 08:40:40 +10:00
junv a4829835e2 Use blue for profile page 2020-08-04 23:49:24 +10:00
junv a9fc5dba67 remove generate png and add color scheme to svg 2020-08-04 23:41:19 +10:00
junv a0edfeb1a5 Styling updates 2020-08-04 23:19:49 +10:00
junv 7172c70b3a update logger 2020-08-04 15:19:12 +10:00
junv 61d3fe495b Add page view count metric 2020-08-04 15:16:32 +10:00
junv bf78e3c7b0 Add badge request count metric 2020-08-03 23:41:46 +10:00
junv a437fe5d6c Add chengdu air quality 2020-08-03 00:55:18 +10:00
junv 5da59358fb Add svg generation time 2020-08-03 00:34:43 +10:00
junv 98a72035c9 Add basic metrics 2020-08-02 18:08:52 +10:00
junv 2bd8627cfc Update styling 2020-08-02 17:54:55 +10:00
junv dd25c52b4f Force badge cache to expire in 120 seconds 2020-07-25 17:48:10 +10:00
junv 8e8beabfc3 Update docker repo name 2020-07-25 17:05:59 +10:00
junv 64a1370583 add new endpoint 2020-07-17 11:56:27 +10:00
junv ccec11ef3b Update ping message 2020-07-17 10:15:22 +10:00
junv 49ec2be746 Add ping 2020-07-16 23:49:41 +10:00
junv 73be6f5eb4 Optimize the style 2020-07-11 00:06:24 +10:00
junv f2408a8c38 add simple svg version 2020-07-10 23:51:27 +10:00
junv 2cc3b341de refactoring 2020-07-10 22:29:02 +10:00
junv 94fa315dcf generate badge base on prometheus metrics 2020-07-10 16:19:06 +10:00
junv 3d0ca22a24 render value on the image 2020-07-10 11:42:04 +10:00
junv 20e3bac62b Allow the url to serve the image 2020-07-10 10:39:14 +10:00