Skip to content

Conversation

@dominikschubert
Copy link
Member

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

log.Debugf("ARN of the AWS resource running the daemon: %v", config.ResourceARN)
telemetry.Init(awsConfig, session, config.ResourceARN, noMetadata)
ifenableTelemetry{
telemetry.Init(awsConfig, session, config.ResourceARN, noMetadata)
Copy link
MemberAuthor

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
Member

@joe4devjoe4dev 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.

@dominikschubertdominikschubert merged commit f65b6ad into localstackMar 21, 2023
@dominikschubertdominikschubert deleted the optional-xray-telemetry branch March 21, 2023 13:37
Sign up for freeto 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

@dominikschubert@joe4dev