⚠️ Heads up!This document refers to using the Insights page on the CircleCI Server product. If you are interested in accessing insights and analytics for your usage, please consider exploring the Insights endpoints of the CircleCI V2 API.
Click the Insights menu item in the CircleCI app to view a dashboard showing the health of all repositories you are following. Median build time, median queue time, last build time, success rate, and parallelism appear for your default branch. Note: If you have configured Workflows, graphs display all of the jobs that are being executed for your default branch.
The image illustrates the following data about your builds:
Status of all your repos building on CircleCI in real time
Median queue time
Median build time
Number of branches
Click the Insights icon on the main navigation, then click your repo name to access per-project insights.
The per-project insights page gives you access to the build status and build performance graphs for a selected branch.
Build Status: The Insights dashboard shows the last 50 builds for your default branch. Click a branch in the top right corner to access over 100 build/job statuses for the selected branch.
Build Performance: The Build Performance graph aggregates your build/job data for a particular day and plots the median for that day going back as far as 90 days. Monitor the performance of your repo by clicking a particular branch.
Refer to the Collecting Test Metadata document for instructions to configure insights into your most failed tests.
Sumo Logic Integration
Sumo Logic users may track and visualize analytical data across all of their jobs on CircleCI. To do so, use the Sumo Logic Orb and Sumo Logic app integration from the Sumo Logic partner integrations site.
The CircleCI Dashboard for Sumo Logic
- Total Job
- Total Successful Jobs
- Total Failed Jobs
- Job Outcome
- Average Runtime in Seconds (by Job)
- Jobs By Projects
- Recent Jobs (latest 10)
- Top 10 Slowest Failed Jobs In Seconds
- Top 10 Slowest Successful Jobs In Seconds
Install the CircleCI dashboard by using the App Catalog from the dashboard home page.
This dashboard receives data through the CircleCI Sumo Logic orb which must be included in your projects to be tracked.
The Sumo Logic Orb
Find the latest version of the Sumo Logic orb on the Orb Registry.
1. Import the Sumo Logic orb.
Add the Sumo Logic orb to your project by including the top-level
orbs key and import
email@example.com as follows, replacing
x.y.z with the latest version number at the link above.
orbs: sumologic: firstname.lastname@example.org
2. Add Workflow-Collector to Workflow.
workflow-collector job runs concurrently along side your workflow and sends analytics to Sumo Logic until all of the jobs in your workflow have completed.
version: 2.1 workflows: build-test-and-deploy: jobs: - sumologic/workflow-collector # add this job to track workflow. - build - test: requires: - build - deploy: requires: - test
3. Create two source collectors.
You will need to create two source collectors on Sumo Logic which will return an HTTPS URL. Your job data will be sent to this HTTPS URL.
You will need to create one called
circleci/job-collector and another called
To create the two source collectors:
- From the dashboard select the Setup Wizard.
- Select Set Up Streaming Data.
- Scroll to the bottom and select All Other Sources.
- Select HTTPS Source
- For the
Source Categoryenter one of the two mentioned above.
- Save the resulting URL.
4. Add environment variables.
For each of the URLs produce in the previous step, create the corresponding environment variable.
This will link the orb with your Sumo Logic dashboard.
Your Sumo Logic dashboard will now begin to populate with data as each job runs on CircleCI.
Refer to the Orbs Introduction document to learn more about using and authoring orbs.