We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b74ff7 commit db8911aCopy full SHA for db8911a
echoprometheus/prometheus.go
@@ -115,7 +115,7 @@ func NewHandlerWithConfig(config HandlerConfig) echo.HandlerFunc {
115
if config.Gatherer == nil {
116
config.Gatherer = prometheus.DefaultGatherer
117
}
118
- h := promhttp.HandlerFor(config.Gatherer, promhttp.HandlerOpts{})
+ h := promhttp.HandlerFor(config.Gatherer, promhttp.HandlerOpts{DisableCompression: true})
119
120
if r, ok := config.Gatherer.(prometheus.Registerer); ok {
121
h = promhttp.InstrumentMetricHandler(r, h)
0 commit comments