incubator-devlake icon indicating copy to clipboard operation
incubator-devlake copied to clipboard

[Question][Module Name] Deployments from prior year are not detected

Open kapptob opened this issue 1 year ago • 1 comments

Question

When trying to get all the deployments from the project. It is not possible to get GitHub-Data from last year, in JIRA though it does work. This is a problem I have with all projects I try to analyze. Is this a known problem or do I have to specify something in the configuration?

Screenshots

image image image

Additional context

The GitHub Workflow did not change in this time frame

kapptob avatar Sep 02 '24 11:09 kapptob

The issue you're encountering with not being able to get GitHub deployment data from the previous year might be related to the configuration of the data time range in DevLake. By default, DevLake is set to collect data from the past six months. You can adjust this setting to include data from the previous year.

To specify the date range for data ingestion from GitHub, follow these steps:

  1. Set the Sync Policy:
    • Data Time Range: Adjust the time range to include the previous year. The default is set to the past six months, so you'll need to extend this range.
    • Sync Frequency: Set how often you want to sync your data.
    • Skip Failed Tasks: Optionally, choose to skip failed tasks to optimize the data collection process.

Here is an example configuration for the sync policy:

data_time_range: "last_year"
sync_frequency: "daily"
skip_failed_tasks: true

Make sure to update your configuration to reflect the desired time range. This should allow you to collect and analyze deployment data from the previous year.

For more detailed instructions, you can refer to the DevLake documentation [1][2].

To continue talking to Dosu, mention @dosu.

dosubot[bot] avatar Sep 02 '24 11:09 dosubot[bot]

This issue has been automatically marked as stale because it has been inactive for 60 days. It will be closed in next 7 days if no further activity occurs.

github-actions[bot] avatar Nov 02 '24 00:11 github-actions[bot]

This issue has been closed because it has been inactive for a long time. You can reopen it if you encounter the similar problem in the future.

github-actions[bot] avatar Nov 10 '24 00:11 github-actions[bot]