{
  "apiVersion": "argoproj.io/v1alpha1",
  "kind": "AnalysisRun",
  "metadata": {
    "annotations": {
      "rollout.argoproj.io/revision": "4"
    },
    "creationTimestamp": "2021-03-09T15:05:49Z",
    "generation": 11,
    "labels": {
      "backstage.io/kubernetes-id": "dice-roller",
      "rollout-type": "Step",
      "rollouts-pod-template-hash": "546c476497",
      "step-index": "1"
    },
    "name": "dice-roller-546c476497-4-1",
    "namespace": "default",
    "ownerReferences": [
      {
        "apiVersion": "argoproj.io/v1alpha1",
        "blockOwnerDeletion": true,
        "controller": true,
        "kind": "Rollout",
        "name": "dice-roller",
        "uid": "8552f08d-32e8-4f95-a43f-8524763eef60"
      }
    ],
    "resourceVersion": "3342462005",
    "selfLink": "/apis/argoproj.io/v1alpha1/namespaces/default/analysisruns/dice-roller-546c476497-4-1",
    "uid": "b4e720ea-0488-42e2-8bd9-924c78843ee2"
  },
  "spec": {
    "metrics": [
      {
        "count": 5,
        "interval": "5s",
        "name": "always-pass",
        "provider": {
          "job": {
            "metadata": {
              "creationTimestamp": null
            },
            "spec": {
              "backoffLimit": 1,
              "template": {
                "metadata": {
                  "creationTimestamp": null
                },
                "spec": {
                  "containers": [
                    {
                      "image": "some-image",
                      "name": "always-pass",
                      "resources": {
                        "limits": {
                          "cpu": "800m",
                          "memory": "1G"
                        },
                        "requests": {
                          "cpu": "200m",
                          "memory": "1G"
                        }
                      }
                    }
                  ],
                  "restartPolicy": "Never"
                }
              }
            }
          }
        }
      }
    ]
  },
  "status": {
    "metricResults": [
      {
        "count": 5,
        "measurements": [
          {
            "finishedAt": "2021-03-09T15:06:13Z",
            "metadata": {
              "job-name": "b4e720ea-0488-42e2-8bd9-924c78843ee2.always-pass.1"
            },
            "phase": "Successful",
            "startedAt": "2021-03-09T15:05:49Z"
          },
          {
            "finishedAt": "2021-03-09T15:06:41Z",
            "metadata": {
              "job-name": "b4e720ea-0488-42e2-8bd9-924c78843ee2.always-pass.2"
            },
            "phase": "Successful",
            "startedAt": "2021-03-09T15:06:18Z"
          },
          {
            "finishedAt": "2021-03-09T15:07:08Z",
            "metadata": {
              "job-name": "b4e720ea-0488-42e2-8bd9-924c78843ee2.always-pass.3"
            },
            "phase": "Successful",
            "startedAt": "2021-03-09T15:06:46Z"
          },
          {
            "finishedAt": "2021-03-09T15:07:35Z",
            "metadata": {
              "job-name": "b4e720ea-0488-42e2-8bd9-924c78843ee2.always-pass.4"
            },
            "phase": "Successful",
            "startedAt": "2021-03-09T15:07:13Z"
          },
          {
            "finishedAt": "2021-03-09T15:08:02Z",
            "metadata": {
              "job-name": "b4e720ea-0488-42e2-8bd9-924c78843ee2.always-pass.5"
            },
            "phase": "Successful",
            "startedAt": "2021-03-09T15:07:40Z"
          }
        ],
        "name": "always-pass",
        "phase": "Successful",
        "successful": 5
      }
    ],
    "phase": "Successful",
    "startedAt": "2021-03-09T15:05:49Z"
  }
}
