Skip to content

Make X-Ray telemetry opt-in#15

Merged
dominikschubert merged 2 commits intolocalstackfrom
optional-xray-telemetry
Mar 21, 2023
Merged

Make X-Ray telemetry opt-in#15
dominikschubert merged 2 commits intolocalstackfrom
optional-xray-telemetry

Conversation

@dominikschubert
Copy link
Copy Markdown
Member

Since this can get quite "spammy" we now disable xray daemon telemetry by default.

@dominikschubert dominikschubert requested a review from joe4dev March 21, 2023 13:24
@dominikschubert dominikschubert self-assigned this Mar 21, 2023
log.Debugf("ARN of the AWS resource running the daemon: %v", config.ResourceARN)
telemetry.Init(awsConfig, session, config.ResourceARN, noMetadata)
if enableTelemetry {
telemetry.Init(awsConfig, session, config.ResourceARN, noMetadata)
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This would initialize telemetry.T which is why the additional nil checks were added below

Copy link
Copy Markdown
Member

@joe4dev joe4dev left a comment

Choose a reason for hiding this comment

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

LGTM 👍

Just a minor logging comment.

@dominikschubert dominikschubert merged commit f65b6ad into localstack Mar 21, 2023
@dominikschubert dominikschubert deleted the optional-xray-telemetry branch March 21, 2023 13:37
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.

2 participants