Skip to content
This repository has been archived by the owner on Oct 1, 2021. It is now read-only.

Commit

Permalink
feat(ketchup): Disabling gzip compression for prometheus
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Boutour <bob@vibioh.fr>
  • Loading branch information
ViBiOh committed Jun 6, 2021
1 parent 942dd94 commit cc83421
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/dependabot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ updates:
directory: /
schedule:
interval: weekly
day: sunday
day: saturday
commit-message:
prefix: chore
include: scope
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,19 +84,21 @@ Usage of deploy:
-okStatus int
[http] Healthy HTTP Status code {DEPLOY_OK_STATUS} (default 204)
-port uint
[server] Listen port {DEPLOY_PORT} (default 1080)
[server] Listen port (0 to disable) {DEPLOY_PORT} (default 1080)
-prometheusAddress string
[prometheus] Listen address {DEPLOY_PROMETHEUS_ADDRESS}
-prometheusCert string
[prometheus] Certificate file {DEPLOY_PROMETHEUS_CERT}
-prometheusGzip
[prometheus] Enable gzip compression of metrics output {DEPLOY_PROMETHEUS_GZIP}
-prometheusIdleTimeout string
[prometheus] Idle Timeout {DEPLOY_PROMETHEUS_IDLE_TIMEOUT} (default "10s")
-prometheusIgnore string
[prometheus] Ignored path prefixes for metrics, comma separated {DEPLOY_PROMETHEUS_IGNORE}
-prometheusKey string
[prometheus] Key file {DEPLOY_PROMETHEUS_KEY}
-prometheusPort uint
[prometheus] Listen port {DEPLOY_PROMETHEUS_PORT} (default 9090)
[prometheus] Listen port (0 to disable) {DEPLOY_PROMETHEUS_PORT} (default 9090)
-prometheusReadTimeout string
[prometheus] Read Timeout {DEPLOY_PROMETHEUS_READ_TIMEOUT} (default "5s")
-prometheusShutdownTimeout string
Expand Down
2 changes: 1 addition & 1 deletion cmd/deploy/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func main() {

alcotestConfig := alcotest.Flags(fs, "")
loggerConfig := logger.Flags(fs, "logger")
prometheusConfig := prometheus.Flags(fs, "prometheus")
prometheusConfig := prometheus.Flags(fs, "prometheus", flags.NewOverride("Gzip", false))
owaspConfig := owasp.Flags(fs, "")

apiConfig := api.Flags(fs, "api")
Expand Down

0 comments on commit cc83421

Please sign in to comment.