diff --git a/receiver/receivercreator/README.md b/receiver/receivercreator/README.md index d7b182c2fa31..84c721b55a22 100644 --- a/receiver/receivercreator/README.md +++ b/receiver/receivercreator/README.md @@ -3,7 +3,7 @@ | Status | | |--------------------------|-----------------------| | Stability | [beta] | -| Supported pipeline types | logs, metrics, traces | +| Supported pipeline types | metrics | | Distributions | [contrib] | This receiver can instantiate other receivers at runtime based on whether diff --git a/receiver/receivercreator/factory_test.go b/receiver/receivercreator/factory_test.go index 5eab43a54534..9bf2394796c2 100644 --- a/receiver/receivercreator/factory_test.go +++ b/receiver/receivercreator/factory_test.go @@ -41,4 +41,9 @@ func TestCreateReceiver(t *testing.T) { assert.Error(t, err) assert.ErrorIs(t, err, component.ErrDataTypeIsNotSupported) assert.Nil(t, mReceiver) + + lReceiver, err := factory.CreateLogsReceiver(context.Background(), params, cfg, nil) + assert.Error(t, err) + assert.ErrorIs(t, err, component.ErrDataTypeIsNotSupported) + assert.Nil(t, lReceiver) }