Skip to content

Commit

Permalink
Deprecate signalflow (#210)
Browse files Browse the repository at this point in the history
  • Loading branch information
pellared authored Apr 25, 2024
1 parent 6a8afc1 commit 085ee13
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
6 changes: 0 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,6 @@

This is a programmatic interface in Go for SignalFx's metadata and ingest APIs.

# SignalFlow

There is an **experimental** SignalFlow client in the `signalflow` directory. An
example of its use is in [signalflow/example]. For full documentation see the
[godocs](https://godoc.org/github.com/signalfx/signalfx-go/signalflow).

# Example

```
Expand Down
4 changes: 4 additions & 0 deletions signalflow/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
This is a client for [SignalFlow](https://dev.splunk.com/observability/docs/signalflow) that lets
you stream and analyze metric data in real-time for your organization.

> [!WARNING]
> `github.com/signalfx/signalfx-go/signalflow/v2` package is **deprecated**.
> Use [`github.com/signalfx/signalflow-client-go/v2/signalflow`](https://pkg.go.dev/github.com/signalfx/signalflow-client-go/v2/signalflow) instead.
## Installation

**You must use Go 1.19+ for the v2 of this client.**
Expand Down
2 changes: 2 additions & 0 deletions signalflow/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,6 @@
// after a short delay.
//
// SignalFlow is documented at https://dev.splunk.com/observability/docs/signalflow/messages.
//
// Deprecated: Use github.com/signalfx/signalflow-client-go/v2/signalflow instead.
package signalflow
2 changes: 1 addition & 1 deletion signalflow/example/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"os"
"time"

"github.com/signalfx/signalfx-go/signalflow/v2"
"github.com/signalfx/signalfx-go/signalflow/v2" //nolint:staticcheck // Users should use github.com/signalfx/signalflow-client-go/signalflow instead.
)

func main() {
Expand Down
1 change: 1 addition & 0 deletions signalflow/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Deprecated: Use github.com/signalfx/signalflow-client-go/v2/signalflow instead.
module github.com/signalfx/signalfx-go/signalflow/v2

go 1.19
Expand Down

0 comments on commit 085ee13

Please sign in to comment.