Skip to main content

A tool to calculate the DORA Lead Time metric

Project description

DORA Lead Time Metric

Lead Time for Changes

Lead Time for Changes is one of the four key DORA (DevOps Research and Assessment) metrics that measure software delivery performance. It measures the time it takes from when code is committed to when it is successfully running in production. A shorter lead time indicates an organization's ability to respond quickly to customer needs and fix problems rapidly.

Typical lead time ranges:

  • Elite performers: Less than one hour
  • High performers: Between one day and one week
  • Medium performers: Between one week and one month
  • Low performers: Between one month and six months

These tools help calculate lead time by tracking pull request timestamps from creation to merge, which is one component of the overall lead time metric.

Environment Configuration

The application requires several environment variables to be set in a .env file:

GitHub Configuration

Atlassian Configuration

  • ATLASSIAN_TOKEN: API token for Atlassian/Jira access

    • Generate from Atlassian Account Settings → Security → API tokens
    • Used for retrieving Jira ticket information
  • JIRA_INSTANCE: Your Jira instance URL (e.g., company.atlassian.net)

    • This is the domain portion of your Jira URL
  • EMAIL: Your Atlassian account email address

    • Required for Jira API authentication
    • Should match the email associated with your Atlassian account

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dora_lead_time_metric-0.1.0.tar.gz (16.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dora_lead_time_metric-0.1.0-py3-none-any.whl (24.1 kB view details)

Uploaded Python 3

File details

Details for the file dora_lead_time_metric-0.1.0.tar.gz.

File metadata

  • Download URL: dora_lead_time_metric-0.1.0.tar.gz
  • Upload date:
  • Size: 16.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for dora_lead_time_metric-0.1.0.tar.gz
Algorithm Hash digest
SHA256 954147805cd996175120ac999a299eff16b46e4d0772cc44929353e30ae3b115
MD5 43d6e201b254bbf9493ef7fdc259ba12
BLAKE2b-256 8f1dc40a0c42ec5f6d1bad0bbfa375e561a4ed9a171892a553396ab4d46548b8

See more details on using hashes here.

Provenance

The following attestation bundles were made for dora_lead_time_metric-0.1.0.tar.gz:

Publisher: publish-pypi.yml on sualeh/dora-lead-time-metric

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dora_lead_time_metric-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for dora_lead_time_metric-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 22d9831f8d738ddd1f4b0b7790e35d22729ad26f62f2660a1f2d206cdac6062e
MD5 3079076fcc7c49cd609fdf000c36ee91
BLAKE2b-256 4708537d188b5e6b0732ff0169440e6afe670dea425e04f95baf751d226ec72f

See more details on using hashes here.

Provenance

The following attestation bundles were made for dora_lead_time_metric-0.1.0-py3-none-any.whl:

Publisher: publish-pypi.yml on sualeh/dora-lead-time-metric

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page