Skip to content

Commit

Permalink
🔧 (main.yml): exclude MigrationTools.Telemetery from GitHub Actions f…
Browse files Browse the repository at this point in the history
…ilters

📝 (README.md): update metrics section and remove outdated data
💡 (GetSvcWorkItemMetrics.cs): adjust SVG text font size for better readability

The GitHub Actions workflow is updated to exclude the
`MigrationTools.Telemetery` directory from triggering actions,
preventing unnecessary builds and improving efficiency. The README
is updated to remove outdated metrics data and streamline the
presentation of current metrics, making it more concise and
informative. The font size in the SVG text within
`GetSvcWorkItemMetrics.cs` is reduced to enhance readability and
visual appeal.
  • Loading branch information
MrHinsh committed Oct 23, 2024
1 parent 1b5b1bc commit 1b606e1
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 23 deletions.
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ jobs:
filters: |
src:
- 'src/**'
- '!src/MigrationTools.Telemetery/**'
docs:
- 'docs/**'
automation:
Expand Down
30 changes: 8 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,31 +74,17 @@ For the most part we support moving data between ((Azure DevOps Server | Team Fo

The documentation for the preview is on [Preview](https://nkdagility.com/docs/azure-devops-migration-tools/preview/)]

## Some Data from the last 30 days (as of 05/03/2024)

| Category | Metric | Notes |
| ------------- | ------------- | ------------- |
| Work Items | **1m** | A single Work Item may have many revisions that we need to migrate |
| Work Item Revisions | **23m** | A single Work Item may have many revisions that we need to migrate |
| RelatedLinkCount | **11m** | Each work item may have many links or none. |
| Git Commit Links | **1.3m** | |
| Attachments | **1.2m** | Total number of attachments migrated |
| Test Suits | 52k | total suits migrated |
| Test Cases Mapped | **1.4m** | Total test cases mapped into Suits |
| Migration Run Ave | **14 minutes** | Includes dry-runs as well. |
| Migration Run Total | **19bn Seconds** | Thats **316m hours** or **13m days** of run time in the last 30 days. |
| Average Work item Migration Time | **22s** | Work Item (includes all revisions, links, and attachments for the work item) |

## New Metrics (experimental)
## Metrics

These metrics come directly from Custo Metrics in Application Insights and are updated every 10 minutes. They are experimental and may not be accurate.

| Metric | Category | Type | All (last 30 days) | v16 (05/09/2024) | Notes |
|-----------------|------------|------------|-------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------|-------------------|
| WorkItemMetrics | WorkItems | Count | ![Work Items Total](https://img.shields.io/endpoint?url=https%3A%2F%2Fmigrationtoolstelemetery.azurewebsites.net%2Fapi%2FGetShieldIoWorkItemMetrics_WorkItemTotals%3Fcode%3Dgithub%26version%3D&label=%20) | ![Work Items v16](https://img.shields.io/endpoint?url=https%3A%2F%2Fmigrationtoolstelemetery.azurewebsites.net%2Fapi%2FGetShieldIoWorkItemMetrics_WorkItemTotals%3Fcode%3Dgithub%26version%3D16.0&label=%20) | This counts the number of work items processed |
| | | Ave | ![Work Items Avg](https://img.shields.io/endpoint?url=https%3A%2F%2Fmigrationtoolstelemetery.azurewebsites.net%2Fapi%2FGetShieldIoWorkItemMetrics_WorkItemProcessingDuration%3Fcode%3Dgithub%26version%3D&label=%20) | ![Work Items Avg v16](https://img.shields.io/endpoint?url=https%3A%2F%2Fmigrationtoolstelemetery.azurewebsites.net%2Fapi%2FGetShieldIoWorkItemMetrics_WorkItemProcessingDuration%3Fcode%3Dgithub%26version%3D16.0&label=%20) | the average amount of time a work item takes to process |
| | Revisions | Count | ![Revisions Total](https://img.shields.io/endpoint?url=https%3A%2F%2Fmigrationtoolstelemetery.azurewebsites.net%2Fapi%2FGetShieldIoWorkItemMetrics_WorkItemRevisionsTotal%3Fcode%3Dgithub&label=%20) | ![Revisions v16](https://img.shields.io/endpoint?url=https%3A%2F%2Fmigrationtoolstelemetery.azurewebsites.net%2Fapi%2FGetShieldIoWorkItemMetrics_WorkItemRevisionsTotal%3Fcode%3Dgithub%26version%3D16.0&label=%20) | the total number of revisions procesed |
| | | Ave | ![Revisions Avg](https://img.shields.io/endpoint?url=https%3A%2F%2Fmigrationtoolstelemetery.azurewebsites.net%2Fapi%2FGetShieldIoWorkItemMetrics_WorkItemRevisions%3Fcode%3Dgithub&label=%20) | ![Revisions Avg v16](https://img.shields.io/endpoint?url=https%3A%2F%2Fmigrationtoolstelemetery.azurewebsites.net%2Fapi%2FGetShieldIoWorkItemMetrics_WorkItemRevisions%3Fcode%3Dgithub%26version%3D16.0&label=%20) | the avaerge number of revisions per work item |

| Metric | Category | Type | All (last 30 days) | Notes |
|-----------------|------------|------------|-------------------------------------------------------------------------------------------------------------------------|-------------------|
| WorkItemMetrics | WorkItems | Count | ![Work Items Total](https://img.shields.io/endpoint?url=https%3A%2F%2Fmigrationtoolstelemetery.azurewebsites.net%2Fapi%2FGetShieldIoWorkItemMetrics_WorkItemTotals%3Fcode%3Dgithub%26version%3D&label=%20) | This counts the number of work items processed |
| | | Ave | ![Work Items Avg](https://img.shields.io/endpoint?url=https%3A%2F%2Fmigrationtoolstelemetery.azurewebsites.net%2Fapi%2FGetShieldIoWorkItemMetrics_WorkItemProcessingDuration%3Fcode%3Dgithub%26version%3D&label=%20) | The average amount of time a work item takes to process |
| | Revisions | Count | ![Revisions Total](https://img.shields.io/endpoint?url=https%3A%2F%2Fmigrationtoolstelemetery.azurewebsites.net%2Fapi%2FGetShieldIoWorkItemMetrics_WorkItemRevisionsTotal%3Fcode%3Dgithub&label=%20) | The total number of revisions processed |
| | | Ave | ![Revisions Avg](https://img.shields.io/endpoint?url=https%3A%2F%2Fmigrationtoolstelemetery.azurewebsites.net%2Fapi%2FGetShieldIoWorkItemMetrics_WorkItemRevisions%3Fcode%3Dgithub&label=%20) | The average number of revisions per work item |

![Work Items in last 30 days](https://migrationtoolstelemetery.azurewebsites.net/api/GetGraphWorkItemMetrics_WorkItems?code=github)

Expand Down
2 changes: 1 addition & 1 deletion src/MigrationTools.Telemetery/GetSvcWorkItemMetrics.cs
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ private string GenerateAnimatedSVG(double startValue, double endValue, int durat
{
return $@"
<svg width=""400"" height=""100"" xmlns=""http://www.w3.org/2000/svg"">
<text x=""10"" y=""50"" font-size=""40"" font-family=""Arial"" fill=""black"">
<text x=""10"" y=""50"" font-size=""16"" font-family=""Arial"" fill=""black"">
<tspan id=""count"">{startValue}</tspan>
<animate attributeName=""text"" from=""{startValue}"" to=""{endValue}"" dur=""{durationInSeconds}s"" keySplines=""0.4 0 0.6 1"" repeatCount=""indefinite"" fill=""freeze"" />
</text>
Expand Down

0 comments on commit 1b606e1

Please sign in to comment.