CICD-425 · Platform adoption metrics
Encyclopedia · Platform engineering and internal developer platforms · All snippets
Previous · CICD-424 · Next · CICD-426
1. Where it fits
- Placement adoption metrics job.
- Prerequisites platform sandbox, scoped identities and reviewed service catalog or provisioning policy.
- Platforms kubernetes, local-lab.
2. Copy the snippet
bash
jq -e '[.[] | select(.eligible==true)] | length > 0' inventory.json >/dev/null
jq '[.[]|select(.eligible==true)] | {eligible:length,adopted:map(select(.golden_path==true))|length} | .ratio=(.adopted/.eligible)' inventory.json3. How it works
Eligible services form the denominator. Adopted services are counted within that set so untracked teams do not distort the ratio.
4. Verify the result
Define denominator and observation period from a service inventory snapshot. Track adoption through stable service IDs.
Validation syntax-validated (Bash parse). Status definitions.