From bd11dc5f25d78b61dbf83a2f20a6b16c4986f13d Mon Sep 17 00:00:00 2001 From: Yuri Shkuro Date: Sat, 7 Dec 2024 13:04:44 -0500 Subject: [PATCH] Pring EOL notice from v1 binaries Signed-off-by: Yuri Shkuro --- cmd/all-in-one/main.go | 1 + cmd/collector/main.go | 1 + cmd/ingester/main.go | 1 + cmd/internal/flags/service.go | 24 ++++++++++++++++++++++++ cmd/query/main.go | 1 + 5 files changed, 28 insertions(+) diff --git a/cmd/all-in-one/main.go b/cmd/all-in-one/main.go index 9b7b89dfba1..c9382ac80a7 100644 --- a/cmd/all-in-one/main.go +++ b/cmd/all-in-one/main.go @@ -45,6 +45,7 @@ import ( // all-in-one/main is a standalone full-stack jaeger backend, backed by a memory store func main() { + flags.PrintV1EOL() setupcontext.SetAllInOne() svc := flags.NewService(ports.CollectorAdminHTTP) diff --git a/cmd/collector/main.go b/cmd/collector/main.go index 86f26d1cb84..52528ada6fb 100644 --- a/cmd/collector/main.go +++ b/cmd/collector/main.go @@ -35,6 +35,7 @@ import ( const serviceName = "jaeger-collector" func main() { + cmdFlags.PrintV1EOL() svc := cmdFlags.NewService(ports.CollectorAdminHTTP) storageFactory, err := storage.NewFactory(storage.FactoryConfigFromEnvAndCLI(os.Args, os.Stderr)) diff --git a/cmd/ingester/main.go b/cmd/ingester/main.go index efc08cea61f..4500b997311 100644 --- a/cmd/ingester/main.go +++ b/cmd/ingester/main.go @@ -30,6 +30,7 @@ import ( ) func main() { + flags.PrintV1EOL() svc := flags.NewService(ports.IngesterAdminHTTP) storageFactory, err := storage.NewFactory(storage.FactoryConfigFromEnvAndCLI(os.Args, os.Stderr)) diff --git a/cmd/internal/flags/service.go b/cmd/internal/flags/service.go index 7a276d59d18..06205157bac 100644 --- a/cmd/internal/flags/service.go +++ b/cmd/internal/flags/service.go @@ -42,6 +42,30 @@ type Service struct { signalsChannel chan os.Signal } +func PrintV1EOL() { + println(` +******************************************************************************* + +******** WARNING: End-of-life Notice for Jaeger v1 + +You are currently running a v1 version of Jaeger, which is deprecated and will +reach end-of-life on December 31st, 2025. This means there will be no further +development, bug fixes, or security patches for v1 after this date. + +We strongly recommend migrating to Jaeger v2 for continued support and access +to new features. + +For detailed migration instructions, please refer to the official Jaeger +documentation: https://www.jaegertracing.io/docs/latest/migration/ + +Tracking issue: https://github.com/jaegertracing/jaeger/issues/6321 + +******** WARNING: End-of-life Notice for Jaeger v1 + +******************************************************************************* +`) +} + // NewService creates a new Service. func NewService(adminPort int) *Service { signalsChannel := make(chan os.Signal, 1) diff --git a/cmd/query/main.go b/cmd/query/main.go index 5d32b5db10f..4868cb28428 100644 --- a/cmd/query/main.go +++ b/cmd/query/main.go @@ -36,6 +36,7 @@ import ( ) func main() { + flags.PrintV1EOL() svc := flags.NewService(ports.QueryAdminHTTP) storageFactory, err := storage.NewFactory(storage.FactoryConfigFromEnvAndCLI(os.Args, os.Stderr))