From dc400b5f7f8422b428a76128f90aa761452ad130 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Paj=C4=85k?= Date: Wed, 17 Apr 2024 12:45:45 +0200 Subject: [PATCH 1/3] Deprecate writer package --- writer/README.md | 5 ++++- writer/internal.go | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/writer/README.md b/writer/README.md index c48d36f..704a585 100644 --- a/writer/README.md +++ b/writer/README.md @@ -3,6 +3,10 @@ See the [godoc](https://godoc.org/github.com/signalfx/signalfx-go/writer) for information on what they are and how to use them. +> [!WARNING] +> `writer` package is **deprecated**. +> Use OpenTelemetry Go instead. + ## Compiling The buffer and writer are generated from a common template in the [`template`](./template) @@ -13,4 +17,3 @@ install the code generation tool with `go get github.com/mauricelam/genny`. Also, `span_[writer|buffer]_test.go` is automatically generated from `datapoint_[writer|buffer]_test.go` by the same `go generate` command, so be sure to make changes in the datapoint test module. - diff --git a/writer/internal.go b/writer/internal.go index 0ac491a..f36eb9b 100644 --- a/writer/internal.go +++ b/writer/internal.go @@ -23,6 +23,8 @@ // request at a time to ingest/gateway is probably not going to get enough // throughput, as usually the network and HTTP RTT is the bottleneck at that // point. +// +// Deprecated: Use OpenTelemetry Go instead. package writer //go:generate sh -c "cd template && ./gen.sh" From cdcf7de09f2a6a2bf7b752339e7f8fd34166f49a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Paj=C4=85k?= Date: Wed, 17 Apr 2024 13:27:30 +0200 Subject: [PATCH 2/3] Update README.md --- writer/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/writer/README.md b/writer/README.md index 704a585..743e2ca 100644 --- a/writer/README.md +++ b/writer/README.md @@ -4,7 +4,7 @@ See the [godoc](https://godoc.org/github.com/signalfx/signalfx-go/writer) for information on what they are and how to use them. > [!WARNING] -> `writer` package is **deprecated**. +> `writer` package is **deprecated** and no longer supported. > Use OpenTelemetry Go instead. ## Compiling From 4e9d1d1a219e67e1eb7b6de2ae2682a9ef0493b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Paj=C4=85k?= Date: Thu, 18 Apr 2024 12:43:48 +0200 Subject: [PATCH 3/3] Update writer/README.md --- writer/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/writer/README.md b/writer/README.md index 743e2ca..2d9f98f 100644 --- a/writer/README.md +++ b/writer/README.md @@ -4,7 +4,7 @@ See the [godoc](https://godoc.org/github.com/signalfx/signalfx-go/writer) for information on what they are and how to use them. > [!WARNING] -> `writer` package is **deprecated** and no longer supported. +> `writer` package is **deprecated** and will reach End of Support on October 18, 2024. > Use OpenTelemetry Go instead. ## Compiling