Skip to content

CA Tool Telemetry #238

Closed
MalavikaKrishnan100 wants to merge 8 commits intofeature/app-settings-redesignfrom
feature/Telemetry
Closed

CA Tool Telemetry #238
MalavikaKrishnan100 wants to merge 8 commits intofeature/app-settings-redesignfrom
feature/Telemetry

Conversation

@MalavikaKrishnan100
Copy link
Collaborator

Added Telemetry Flag
Added telemtry for package identifier, Package creator and Artifactory uploader

<ItemGroup>
<ProjectReference Include="..\LCT.Common\LCT.Common.csproj" />
<ProjectReference Include="..\LCT.Services\LCT.Services.csproj" />
<ProjectReference Include="..\TelemetryHelperClass\Telemetry.csproj" />
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why do we have this telemetry helper class ?

if (appSettings.Telemetry == true)
{
Logger.Warn( TelemetryConstant.StartLogMessage );
Telemetry.Telemetry telemetry = new Telemetry.Telemetry("ApplicationInsights", new Dictionary<string, string>
Copy link
Collaborator

Choose a reason for hiding this comment

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

Move this to a constant in the telementryconstant class

public const string IdentifierKpiData = "IdentifierKpiDataTelemetry";
public const string CreatorKpiData = "CreatorKpiDataTelemetry";
public const string ArtifactoryUploaderKpiData = "UploaderKpiDataTelemetry";
public const string StartLogMessage = "Telemetry for execution is now enabled and being tracked. You can disable it by using the command-line option --Telemetry=false.";
Copy link
Collaborator

Choose a reason for hiding this comment

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

also mention that it can be disabled via the app settings

Copy link
Collaborator

@adityanarayanp adityanarayanp left a comment

Choose a reason for hiding this comment

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

Please pull the latest changes from the branch

@MalavikaKrishnan100 MalavikaKrishnan100 changed the title Feature/telemetry CA Tool Telemetry Jan 27, 2025
@adityanarayanp
Copy link
Collaborator

@MalavikaKrishnan100 : PR is outdated, please raise a new one as discussed.

@adityanarayanp adityanarayanp deleted the feature/Telemetry branch May 19, 2025 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request Importance Low Minor Impact

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants