From 0418ed4a5d3b56e81f3d57d775c7a6e589e9f5c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Paj=C4=85k?= Date: Thu, 12 Oct 2023 09:35:11 +0000 Subject: [PATCH 1/2] Deprecate example/fib --- example/fib/doc.go | 18 ++++++++++++++++++ example/fib/go.mod | 1 + 2 files changed, 19 insertions(+) create mode 100644 example/fib/doc.go diff --git a/example/fib/doc.go b/example/fib/doc.go new file mode 100644 index 00000000000..77b63d47614 --- /dev/null +++ b/example/fib/doc.go @@ -0,0 +1,18 @@ +// Copyright The OpenTelemetry Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Fib is the "Fibonacci" old getting started example application. +// +// Deprecated: See [go.opentelemetry.io/otel/example/dice] instead. +package main diff --git a/example/fib/go.mod b/example/fib/go.mod index d1f4c004fbc..553ec4b460b 100644 --- a/example/fib/go.mod +++ b/example/fib/go.mod @@ -1,3 +1,4 @@ +// Deprecated: See go.opentelemetry.io/otel/example/dice instead. module go.opentelemetry.io/otel/example/fib go 1.20 From 6807337dd607d38283ed0346fc68448ab7340c68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Paj=C4=85k?= Date: Thu, 12 Oct 2023 09:39:16 +0000 Subject: [PATCH 2/2] Update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8d6a4df4b5f..1afb77faff8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm ### Deprecated - Deprecate `go.opentelemetry.io/otel/bridge/opencensus.NewTracer` in favor of `opencensus.InstallTraceBridge`. (#4567) +- Deprecate `go.opentelemetry.io/otel/example/fib` package is in favor of `go.opentelemetry.io/otel/example/dice`. (#4618) ### Changed