Skip to content

Conversation

@dmurray-lacework
Copy link
Collaborator

@dmurray-lacework dmurray-lacework commented Jan 18, 2024

Summary

MetricsService Send() will not post data to lacework when LW_TELEMETRY_DISABLE is set.

This will allow Terraform provider and modules to disable telemetry in the same way as the CLI

How did you test this change?

  • metrics_test.TestDisableTelemetry

Issue

https://lacework.atlassian.net/browse/GROW-2627

Signed-off-by: Darren Murray <darren.murray@lacework.net>
@dmurray-lacework dmurray-lacework requested a review from a team as a code owner January 18, 2024 14:43
Signed-off-by: Darren Murray <darren.murray@lacework.net>
Copy link
Contributor

@afiune afiune left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dmurray-lacework dmurray-lacework merged commit ded4e39 into main Jan 18, 2024
@dmurray-lacework dmurray-lacework deleted the GROW-2627/disable-telemetry-env-var branch January 18, 2024 17:38
@lacework-releng lacework-releng mentioned this pull request Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants