Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement]: Extra telemetry Property RepositoryOwner and RepositoryName #1305

Open
louagej opened this issue Nov 12, 2024 · 1 comment
Open
Assignees
Labels
enhancement New feature or request Shipped Feature is included in the latest version

Comments

@louagej
Copy link

louagej commented Nov 12, 2024

Feature description

Hi,

following the round-table session at emea, I am trying to build a kind of dashboard where I can read the telemetry of the AL-Go actions.
To get a clear picture of which repository it is, it would be useful to know the organization, the repository name and current branch.
Would it be possible to add this?
Is it possible to add this poperty to the AL-Go/Actions/TelemetryHelper.psm1?

Add-TelemetryProperty -Hashtable $Data -Key 'RepositoryOwner' -Value $env:GITHUB_REPOSITORY.Split('/')[0]"
Add-TelemetryProperty -Hashtable $Data -Key 'RepositoryName' -Value $env:GITHUB_REPOSITORY".Split('/')[1]"
Add-TelemetryProperty -Hashtable $Data -Key 'BranchName' -Value $env:GITHUB_REF.Split('/')[2]
@louagej louagej added the enhancement New feature or request label Nov 12, 2024
@aholstrup1 aholstrup1 self-assigned this Nov 25, 2024
@freddydk freddydk moved this to 💯 Code Review in AL-Go for GitHub Roadmap Nov 26, 2024
aholstrup1 added a commit that referenced this issue Nov 26, 2024
Add more dimensions to telemetry

Related to #1305
@aholstrup1
Copy link
Collaborator

Good idea :)

I've added the following dimensions to the telemetry:

  • RepositoryOwnerID
  • RepositoryOwner
  • RepositoryName
  • RefName

Will try to get it deployed to AL-Go preview today

@aholstrup1 aholstrup1 moved this from 💯 Code Review to 👏 Ready to Deploy in AL-Go for GitHub Roadmap Nov 26, 2024
@freddydk freddydk moved this from 👏 Ready to Deploy to 👀 In preview in AL-Go for GitHub Roadmap Nov 29, 2024
@freddydk freddydk moved this from 👀 In preview to 👏 Ready to Deploy in AL-Go for GitHub Roadmap Nov 29, 2024
@freddydk freddydk moved this from 👏 Ready to Deploy to 👀 In preview in AL-Go for GitHub Roadmap Nov 29, 2024
@freddydk freddydk added the In Preview Currently available in AL-Go for GitHub preview label Nov 29, 2024
@freddydk freddydk moved this from 👀 In preview to ✅ Shipped in AL-Go for GitHub Roadmap Dec 18, 2024
@freddydk freddydk added Shipped Feature is included in the latest version and removed In Preview Currently available in AL-Go for GitHub preview labels Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Shipped Feature is included in the latest version
Projects
Status: ✅ Shipped
Development

No branches or pull requests

3 participants