UNPKG

@nitin15j/plugin-dora-frontend

Version:
46 lines (44 loc) 1.38 kB
import { MetricType } from '../types/metrics.esm.js'; ({ [MetricType.Frequency]: "Deployment Frequency", [MetricType.LeadTime]: "Lead Time for Changes", [MetricType.FailureRate]: "Change Failure Rate", [MetricType.Mttr]: "Mean Time to Restore" }); ({ [MetricType.Frequency]: "/day", [MetricType.LeadTime]: "hours", [MetricType.FailureRate]: "%", [MetricType.Mttr]: "hours" }); ({ [MetricType.Frequency]: "How often an organization successfully releases to production", [MetricType.LeadTime]: "The amount of time it takes to go from code committed to code successfully running in production", [MetricType.FailureRate]: "The percentage of deployments causing a failure in production", [MetricType.Mttr]: "The amount of time it takes to restore service after a failure in production" }); ({ [MetricType.Frequency]: "#2ecc71", // Green [MetricType.LeadTime]: "#3498db", // Blue [MetricType.FailureRate]: "#e74c3c", // Red [MetricType.Mttr]: "#f1c40f" // Yellow }); ({ [MetricType.Frequency]: "\u{1F680}", [MetricType.LeadTime]: "\u23F1\uFE0F", [MetricType.FailureRate]: "\u274C", [MetricType.Mttr]: "\u{1F527}" }); ({ [MetricType.Frequency]: 0.5, [MetricType.LeadTime]: 86400, // 24 hours in seconds [MetricType.FailureRate]: 5, [MetricType.Mttr]: 3600 // 1 hour in seconds }); //# sourceMappingURL=metrics.esm.js.map