File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed
Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 1+ - 0.8.1-1 (2025-04-23):
2+ + Fixed double response compression in the '/metrics' endpoint.
3+
14- 0.8.0-1 (2025-04-22):
25 + Added basic support for MCP (Model Context Protocol) in the API, enabling queries to varnishmon using LLMs.
36 + Updated dependencies.
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ SHELL := /bin/bash
33ROOT := $(abspath $(dir $(lastword $(MAKEFILE_LIST ) ) ) )
44UMASK := 022
55
6- VERSION := 0.8.0
6+ VERSION := 0.8.1
77ITERATION := 1
88REVISION := $(shell cd '$(ROOT ) ' && git rev-parse --short HEAD)
99ENVIRONMENT ?= production
Original file line number Diff line number Diff line change @@ -168,7 +168,9 @@ func (h *Handler) Shutdown() error {
168168}
169169
170170func (h * Handler ) handleMetricsRequest (c * gin.Context ) {
171+ // Compression is explicitly disabled here to avoid double compression by
172+ // the 'gzip' middleware.
171173 promhttp .HandlerFor (
172174 h .app .Cfg ().Metrics ().Registry ,
173- promhttp.HandlerOpts {}).ServeHTTP (c .Writer , c .Request )
175+ promhttp.HandlerOpts {DisableCompression : true }).ServeHTTP (c .Writer , c .Request )
174176}
You can’t perform that action at this time.
0 commit comments