Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKassio Borges <kborges@gitlab.com>2023-02-17 20:08:42 +0300
committerAlessio Caiazza <acaiazza@gitlab.com>2023-02-17 20:08:42 +0300
commit766b67179b0b9447ff05531d937e2cdda8f4cc8a (patch)
tree212ad2b3542e42c97679a9649c0b180c557dd145 /internal
parentf7da3e85dd006cb1a6112b344d29893b1b56cba5 (diff)
Propagate correlation id by default
Related to: https://gitlab.com/gitlab-org/gitlab-pages/-/issues/827#note_1271012143 Changelog: changed
Diffstat (limited to 'internal')
-rw-r--r--internal/config/flags.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/config/flags.go b/internal/config/flags.go
index 4b8ee7a0..798e4a83 100644
--- a/internal/config/flags.go
+++ b/internal/config/flags.go
@@ -44,7 +44,7 @@ var (
metricsKey = flag.String("metrics-key", "", "The default path to file private key to serve metrics requests")
sentryDSN = flag.String("sentry-dsn", "", "The address for sending sentry crash reporting to")
sentryEnvironment = flag.String("sentry-environment", "", "The environment for sentry crash reporting")
- propagateCorrelationID = flag.Bool("propagate-correlation-id", false, "Reuse existing Correlation-ID from the incoming request header `X-Request-ID` if present")
+ propagateCorrelationID = flag.Bool("propagate-correlation-id", true, "Reuse existing Correlation-ID from the incoming request header `X-Request-ID` if present")
serverShutdownTimeout = flag.Duration("server-shutdown-timeout", 30*time.Second, "GitLab Pages server shutdown timeout (default: 30s)")
logFormat = flag.String("log-format", "json", "The log output format: 'text' or 'json'")
logVerbose = flag.Bool("log-verbose", false, "Verbose logging")