signalfx / signalfx-go

Go client library and instrumentation bindings for SignalFx
https://www.signalfx.com
Apache License 2.0
14 stars 48 forks source link

Add detach to FakeBackend which now supports both, stop and detach #187

Closed dloucasfx closed 1 year ago

dloucasfx commented 1 year ago

Previous https://github.com/signalfx/signalfx-go/pull/186 added support to detach, this PR adds the detach to the fakebackend which is used for testing in https://github.com/signalfx/signalfx-k8s-metrics-adapter/blob/main/internal/integration_test.go