1
0
Fork 0
mirror of https://github.com/TwiN/gatus.git synced 2024-12-14 11:58:04 +00:00
twin-gatus/controller/handler
TwiN 24e207c0c6 fix(metrics): Disable compression on prometheus/client_golang's handler
Fixes #406

Root cause seems to be that promhttp.Handler() has its own gzip compression https://github.com/prometheus/client_golang/issues/622
2023-01-19 23:06:38 -05:00
..
badge.go chore: Bump module version to v5 2022-12-06 01:41:18 -05:00
badge_test.go chore: Bump module version to v5 2022-12-06 01:41:18 -05:00
chart.go chore: Bump module version to v5 2022-12-06 01:41:18 -05:00
chart_test.go chore: Bump module version to v5 2022-12-06 01:41:18 -05:00
config.go chore: Bump module version to v5 2022-12-06 01:41:18 -05:00
config_test.go chore: Bump module version to v5 2022-12-06 01:41:18 -05:00
cors.go oidc: Add /api/v1/config route for determining whether to display a login button on the UI 2022-01-02 21:14:01 -05:00
endpoint_status.go fix: Compress everything with Gzip 2022-12-30 21:37:52 -05:00
endpoint_status_test.go chore: Bump module version to v5 2022-12-06 01:41:18 -05:00
gzip.go refactor: move from io/ioutil to io and os packages 2021-12-03 14:44:17 +08:00
handler.go fix(metrics): Disable compression on prometheus/client_golang's handler 2023-01-19 23:06:38 -05:00
handler_test.go chore: Bump module version to v5 2022-12-06 01:41:18 -05:00
spa.go chore: Bump module version to v5 2022-12-06 01:41:18 -05:00
spa_test.go chore: Bump module version to v5 2022-12-06 01:41:18 -05:00
util.go chore: Bump module version to v5 2022-12-06 01:41:18 -05:00
util_test.go Pass http.NoBody instead of nil as body 2021-11-11 00:14:00 -05:00