LogoLogo
Book a demoLog in
  • Swarmia documentation
  • Getting started
    • Get started in 15 minutes
    • Integrations
      • GitHub
        • GitHub Enterprise Server
        • Multiple GitHub organizations
        • Forked repositories
        • Troubleshooting
          • Reinstalling the Swarmia GitHub app
          • Updating app permissions
          • Installing Swarmia outside of GitHub Marketplace
      • Jira
        • Jira Server and Jira Data Center
        • Multiple Jira organizations
      • Linear
        • Private Linear teams
        • Disconnect Linear
      • Slack
        • Private Slack channels
      • Authentication
        • Google Single Sign-On
          • Frequently asked questions
        • Okta Single Sign-On
      • HR systems
      • Data export
        • Data cloud
        • Export data as a CSV file
      • Other integrations
        • Other issue tracker integrations
        • Other source code hosting integrations
  • Configuration and data quality
    • Teams & members
      • Creating & managing teams
        • Teams API
      • Contributors
      • Roles and permissions
      • Inviting team members
    • Pull request exclusions
    • Issue tracker configuration
      • Jira configuration
      • Jira best practices
      • Linear configuration
    • Linking pull requests to issues
    • Investment categories
    • Deployments
      • Generate deployments from merged pull requests
      • Generate deployments from GitHub deployments
      • Generate deployments from GitHub checks
      • Generate deployments via the API
        • Generate deployments for monorepos via the API
    • Sprint configuration
  • Use cases
    • Improve pull request flow
      • Pull request insights
      • Reducing pull request cycle time
      • Review code faster
      • Managing pull requests in progress with the Pull Request view
      • Diagnosing low pull request throughput
      • Analyzing pull request batch size
  • Improve your team's focus
    • Optimizing issue cycle time
    • Analyzing activity patterns on Work Log
    • Grouping activity on the Work Log view
    • Retrospective guide
  • Balance engineering investments
    • Activity and effort-based models
    • Categorizing work
    • Common problems with balancing engineering investment
  • Deliver strategic initiatives
    • Forecasting initiatives
  • Capitalize software development costs
  • Run developer experience surveys
    • Creating a survey
    • Managing surveys
    • Viewing and sharing survey results
    • How we show your survey responses
    • Survey communication guide and templates
  • Track DORA metrics
    • Automatic change failure detection
    • How Swarmia links PRs to deployments
  • Coach software developers
  • Get visibility into your CI pipeline
  • Continuous improvement
    • Working agreements
  • Notifications
    • Team notifications
    • Personal notifications
  • Retrospectives with Swarmia
  • Metrics & definitions
    • Pull request cycle time
      • What's the difference between "Change lead time" and "Pull request cycle time" metrics in Swarmia?
    • Issue cycle time
      • Defining issue lifecycle and cycle time
    • Developer effort (FTEs)
  • DORA metrics
    • Change lead time
    • Deployment frequency
    • Mean time to recovery
    • Change failure rate
  • Throughput
  • Time to deploy
  • Batch size
  • Flow efficiency
  • Scope creep
  • Sprints
  • Frequently asked questions
    • How do you treat weekends in metrics?
    • Tracking squashed commits
    • How do merge queues affect my metrics?
    • Why is my commit not visible in Swarmia?
    • How do I account for people leaving my organization?
  • Resources
    • Security & data retention
      • Data security
      • Data access
      • Swarmia IP Addresses
      • Single Sign-On (SSO) / SAML
      • Can I get a copy of the SOC 2 Type II audit report?
      • Deleting your organization
  • Pricing & plans
    • Compare plans
    • Free plan
    • Do I need a credit card to start a free trial?
    • What are the differences between the individual modules and the standard plan?
    • How do you determine the number of developers for billing?
    • What happens to customers with the Lite plan after the December 2024 pricing and plan change?
  • Changelog
On this page
  • About deployments
  • Setting up deployment apps
  • Deployment data sources
  • Comparison of data sources
  • Configuring production environments
  • Frequently asked questions
  • Which data source should I use?
  • Is it possible to backfill more than 90 days of deployment data?
  • How do I set up deployments in a monorepo?

Was this helpful?

  1. Configuration and data quality

Deployments

Set up deployments by creating an application and selecting your source.

PreviousInvestment categoriesNextGenerate deployments from merged pull requests

Last updated 13 days ago

Was this helpful?

About deployments

Deployments are used as the data source of , which provide visibility into the frequency and quality of deployments:

  • Deployment frequency & total count of deployments

  • Change failure rate (CFR), or how often you deploy defects into production

  • Mean time to recovery (MTTR), the average time it takes to address defects

Setting up deployment apps

  1. Navigate to

  2. Create a new application to configure the deployments for

  3. Configure your deployment data source (see below for source specific instructions)

  4. Select additional production environments for the app (optional) to calculate DORA metrics.

Deployment data sources

You can use a variety of data sources for getting deployments to show on Swarmia:

Comparison of data sources

Merged pull requests

GitHub Checks

GitHub Deployments

Deployments API

Deployment frequency

✅

✅

✅

✅

Time to deploy

❌

✅

✅

✅

Change lead time

❌

✅

✅

✅

Change failure rate In some cases, it's also possible to use Jira issues as a change failure source. Reach out to us to learn more.

✅

✅

✅

✅

Mean time to recovery (MTTR)

✅

✅

✅

✅

Change failure automation

Reverts

Reverts, Rollbacks

Reverts, Rollbacks

Reverts, Rollbacks, API

Multiple environments

❌

❌

✅

✅

Configuring production environments

  1. Members can also set up production environments for individual apps in addition to these filters.

Frequently asked questions

Which data source should I use?

If you're already using GitHub Deployments in your release workflow, there's no need to manually create a deployment app. Swarmia automatically tracks those, making it the preferred method for a quick start.

Most CI/CD tools have a GitHub integration that can report your deployment job status back to GitHub. If GitHub Deployments are not readily available, but your deployment status is visible in GitHub as a check, using GitHub Checks could be suitable.

These are the fastest ways to get started with Deployment insights and allows Swarmia to backfill historical data automatically. You can also later update your application from one deployment source to another without losing historical data.

We recommend using the Deployments API in the cases where:

  • You deploy manually.

  • Your CI/CD pipeline does not report deployments back to GitHub.

  • You need multiple environments.

  • You want to automate additional change failures (in addition to reverts and rollbacks).

Is it possible to backfill more than 90 days of deployment data?

How do I set up deployments in a monorepo?

Read more here:

— use merges into a specific branch as the proxy for deployments

— automatically create deployments from your CI/CD pipeline based on repository, check, and branch configurations

— automatically create deployments based on GitHub Deployments

— send deployment information directly, supports multiple environments

You can configure environments as production for your deployments. Any deployments made to the production environments will be used to calculate , and appear by default in .

Navigate to

. Leverage your environment naming conventions and set up filters to assign environments as production. You need to be an to set this up.

Yes, in certain cases it's possible. If you're using Deployments API and have the historical data stored somewhere, you can send it to Swarmia and it will be shown as expected. If you're using GitHub Deployments, longer backfills are available for select Standard customers. Reach out to us at for more information.

Swarmia supports tracking deployments from (repositories that contain code for multiple applications that are deployed separately) with some additional setup. For this use case, you will need to use the deployments API.

Merged pull requests
GitHub Checks
GitHub Deployments
Deployments API
DORA metrics
Infrastructure → Deployments
Settings → Deployments
Configure production environments
admin
hello@swarmia.com
monorepos
Generate deployments for monorepos via the API
DORA metrics
Track DORA metrics
Settings → Deployments
GitHub Deployments with three succeeded deployments and one failure.
GitHub checks list with a successful "Deploy Production" check.