Monitoring

Enable Pipeline Monitoring

< >

Step 1: Enabling Pipeline Monitoring

GitLab provides built-in features to monitor the health and performance of your CI/CD pipelines. Here’s how to enable and use these features for your Flask application:

Pipeline Schedules:

Pipeline schedules allow you to run pipelines at regular intervals, such as nightly builds or weekly tests.

To set up a pipeline schedule:

  • Navigate to your GitLab project.
  • Go to Build > Pipeline schedules
  • Click Create a new pipeline schedule and fill in the details (e.g., cron syntax for the schedule, branch to run the pipeline on).

pipeline-schedule

  • Click on the Create pipeline schedule button to start running the pipeline at the specified times.

Pipeline Analytics:

GitLab provides pipeline analytics to help you track the performance and efficiency of your pipelines, which is useful for monitoring the success rate and build times of your Flask project`s pipelines.

To access pipeline analytics:

  • Go to Analyze > CI/CD analytics in your GitLab project.
  • Review the available metrics, such as pipeline duration, success rate, and failure rate.