Engineering Insights
Engineering Insights provides data-driven metrics about your engineering organization, including DORA metrics, bus factor analysis, and code freshness tracking.
DORA Metrics
Section titled “DORA Metrics”Shoehorn tracks the four key DORA (DevOps Research and Assessment) metrics:
| Metric | Description | How It’s Measured |
|---|---|---|
| Deployment Frequency | How often code is deployed to production | Count of deployments per time period |
| Lead Time for Changes | Time from commit to production deployment | Merge timestamp to deploy timestamp |
| Change Failure Rate | Percentage of deployments causing failures | Failed deploys / total deploys |
| Time to Restore Service | Time to recover from a failure | Incident start to resolution |
Viewing DORA Metrics
Section titled “Viewing DORA Metrics”Navigate to Insights > DORA to see metrics across your organization.
Filter by:
- Time period (7d, 30d, 90d)
- Team
- Entity
- Environment
Bus Factor Analysis
Section titled “Bus Factor Analysis”Bus factor identifies knowledge concentration risks: how many people would need to leave before a project stalls.
What’s Measured
Section titled “What’s Measured”- Commit distribution: How evenly code changes are spread across contributors
- Knowledge silos: Files or modules touched by only one person
- Risk entities: Services with a bus factor of 1 (single contributor)
Viewing Bus Factor
Section titled “Viewing Bus Factor”Navigate to Insights > Bus Factor to see:
- Organization-wide bus factor summary
- Per-entity risk scores
- Team-level knowledge distribution
- Recommendations for knowledge sharing
Code Freshness
Section titled “Code Freshness”Track repository activity and identify stale services.
Freshness Categories
Section titled “Freshness Categories”| Category | Criteria | Meaning |
|---|---|---|
| Fresh | Updated within 30 days | Actively maintained |
| Aging | Updated 30-90 days ago | May need attention |
| Stale | Not updated in 90+ days | Potentially abandoned |
Viewing Freshness
Section titled “Viewing Freshness”Navigate to Insights > Code Freshness or check the governance documentation health dashboard.
Zombie Workloads
Section titled “Zombie Workloads”A zombie is compute you’re paying for that nobody is looking after. Navigate to Insights > Zombies to see them.
A workload is listed only when all four of these are true:
- It’s running in Kubernetes. A catalog entry that never ran anywhere isn’t a zombie, because there’s nothing to switch off.
- It isn’t a cluster component. Things like cilium, CoreDNS, CSI drivers, metrics-server, Argo CD, Flux, cert-manager and Traefik are left out. They’re supposed to sit unchanged for months. No time threshold can tell them apart from something abandoned.
- Nothing in the catalog depends on it.
- Nothing has touched it in 90 days. See the signals below.
What counts as being touched
Section titled “What counts as being touched”Shoehorn looks at four dated signals and takes the most recent one. The list names which one it was, and you can go and check it:
| Signal | Where it comes from | Shown as |
|---|---|---|
| Deploy | The Helm release that manages the workload was installed or upgraded | Deployed 94d ago · Helm |
| Sync | The Argo CD or Flux app managing it changed revision or sync state | Synced 12d ago · GitOps |
| Change | The Kubernetes object itself changed: image, replicas, spec or status | Changed 61d ago · Workload |
| Push | Someone pushed to the repository behind it | Pushed 210d ago · Git |
If none of these exist for a workload, it isn’t listed. No evidence isn’t the same as evidence of abandonment.
The 90-day threshold is adjustable on the page.
Deciding what to do with one
Section titled “Deciding what to do with one”Click a row. The panel says why that workload is on the list, what it costs in running pods, where it runs, and who to hand it to.
Ownership is often the hard part, so Shoehorn works down a chain and tells you which step answered:
- the workload’s own
shoehorn.dev/ownerannotation - the
team:topic on the repository it’s deployed from - whoever wrote most of that repository, offered as a name to ask rather than an owner
That third one is a guess and the panel says so, with the share of commits behind it. It counts commits over the repository’s whole life, not recent ones, so on a repository nobody has touched in a year the person named may have moved on. When there’s nothing to go on at all, the panel tells you which annotation to set so the next person doesn’t have to guess.
Excluding a workload
Section titled “Excluding a workload”Some clusters name their platform namespaces differently, and some teams run something that looks abandoned but isn’t. Annotate the workload:
metadata: annotations: shoehorn.dev/zombie-exempt: "true""true" keeps it off the list for good. "false" does the opposite: it puts a workload back on
the list even if it sits in a namespace Shoehorn would normally treat as platform infrastructure.
The annotation wins over everything else.
These namespaces are treated as platform infrastructure by default:
kube-system, kube-public, kube-node-lease, argocd, argo-rollouts, flux-system,
cert-manager, istio-system, istio-operator, linkerd, traefik, ingress-nginx,
gatekeeper-system, kyverno, monitoring, logging, velero, metallb-system,
calico-system, tigera-operator, kube-flannel, longhorn-system, rook-ceph, openebs,
external-secrets, sealed-secrets, gpu-operator, node-feature-discovery,
kubernetes-dashboard, local-path-storage, cnrm-system, hnc-system, capi-system,
capi-kubeadm-bootstrap-system.
Workloads carrying the addonmanager.kubernetes.io/mode or kubernetes.io/cluster-service label
are also treated as platform infrastructure, wherever they run.
default is deliberately not on the list. It’s where unclassified application workloads end up.
Treating it as infrastructure would hide real zombies.
Data Sources
Section titled “Data Sources”Engineering insights are aggregated from:
- GitHub: Commit history, PR activity, contributor data
- Kubernetes: Deployment events, rollout history
- Shoehorn events: Entity changes, governance actions