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] 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"