Skip to content

Commit 3d286af

Browse files
authored
Remove log collection support (#258)
1 parent 7d18154 commit 3d286af

File tree

3 files changed

+0
-35
lines changed

3 files changed

+0
-35
lines changed

aws_cloudwatch_integration_test.go

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -95,20 +95,6 @@ func TestUpdateAWSCloudWatchIntegrationMetricStreams(t *testing.T) {
9595
assert.Equal(t, "ENABLED", result.MetricStreamsSyncState, "MetricStreamsSyncState does not match")
9696
}
9797

98-
func TestUpdateAWSCloudWatchIntegrationLogsSyncState(t *testing.T) {
99-
teardown := setup()
100-
defer teardown()
101-
102-
mux.HandleFunc("/v2/integration/id", verifyRequest(t, "PUT", true, http.StatusOK, nil, "integration/create_aws_logs_sync_state_success.json"))
103-
104-
result, err := client.UpdateAWSCloudWatchIntegration(context.Background(), "id", &integration.AwsCloudWatchIntegration{
105-
Type: "AWSCloudWatch",
106-
LogsSyncState: "ENABLED",
107-
})
108-
assert.NoError(t, err, "Unexpected error creating integration")
109-
assert.Equal(t, "ENABLED", result.LogsSyncState, "LogsSyncState does not match")
110-
}
111-
11298
func TestCreateAWSCloudWatchIntegrationCustomNamespacesOnly(t *testing.T) {
11399
teardown := setup()
114100
defer teardown()

integration/model_aws_cloud_watch_integration.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,6 @@ type AwsCloudWatchIntegration struct {
6363
MetricStatsToSync map[string]map[string][]string `json:"metricStatsToSync,omitempty"`
6464
// If `ENABLED`, this property indicates that SignalFx should use Cloudwatch Metric Streams.
6565
MetricStreamsSyncState string `json:"metricStreamsSyncState,omitempty"`
66-
// If `ENABLED`, this property indicates that SignalFx should sync logs from supported AWS services.
67-
LogsSyncState string `json:"logsSyncState,omitempty"`
6866
// Name of an existing access token (org token) in your Observability Cloud organization. Used to track usage metrics.
6967
NamedToken string `json:"namedToken,omitempty"`
7068
// If `true`, this property indicates that SignalFx should sync metrics and metadata from custom AWS namespaces only.

testdata/fixtures/integration/create_aws_logs_sync_state_success.json

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)