Agent: Add human-readable thread name to aws_environment_check

This commit is contained in:
Mike Salvatore 2022-03-09 08:53:57 -05:00 committed by vakarisz
parent 87dbe20c23
commit 847c7fbf9b
1 changed files with 1 additions and 1 deletions

View File

@ -29,6 +29,6 @@ def _report_aws_environment(telemetry_messenger: LegacyTelemetryMessengerAdapter
def run_aws_environment_check(telemetry_messenger: LegacyTelemetryMessengerAdapter):
logger.info("AWS environment check initiated.")
aws_environment_thread = create_daemon_thread(
target=_report_aws_environment, args=(telemetry_messenger,)
target=_report_aws_environment, name="AWSEnvironmentThread", args=(telemetry_messenger,)
)
aws_environment_thread.start()