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

[Question][Module Name] How metrics co-related if source data comes from different platform #8189

Open
diwangcanada opened this issue Nov 12, 2024 · 3 comments
Labels
devops Something about CI/CD (devops) type/question This issue is a question

Comments

@diwangcanada
Copy link

Question

If I have code and PRs in GitHub, and pipelines in Jenkins, how does metrics co-related since they comes from two different platforms?

Screenshots

If applicable, add screenshots to help explain.

Additional context

Add any other context here.

@diwangcanada diwangcanada added the type/question This issue is a question label Nov 12, 2024
@dosubot dosubot bot added the devops Something about CI/CD (devops) label Nov 12, 2024
@klesh
Copy link
Contributor

klesh commented Nov 19, 2024

They are correlated through the Project. In fact, the Project was specifically introduced for this purpose.

@diwangcanada
Copy link
Author

How does DevLake know which PRs maps to which pipeline run?
For example, I could have multiple PRs in Github, each of them triggers pipeline run in Jenkins, then how does DevLake know which pipeline workflow is for which PR?

@klesh
Copy link
Contributor

klesh commented Nov 20, 2024

By using commit_sha, you may check this doc for detail https://devlake.apache.org/docs/Metrics/LeadTimeForChanges#how-is-it-calculated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
devops Something about CI/CD (devops) type/question This issue is a question
Projects
None yet
Development

No branches or pull requests

2 participants