Skip to content

Commit

Permalink
Fix content of tutorials/tracing_a_production_incident_back_to_git_co…
Browse files Browse the repository at this point in the history
…mmits.md to match actual output
  • Loading branch information
JonJagger committed Dec 11, 2023
1 parent 13cae89 commit 3d7b951
Showing 1 changed file with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,19 @@ Get a log of this environment's changes:
kosli log env aws-prod
```

You will see more than 177 snapshots because
At the time this tutorial was written the output of this command
displayed the first page of 177 snapshots.
You will see the first page of considerably more than 177 snapshots because
`aws-prod` has moved on since this incident (it has been resolved with new
commits which have created new deployments). To get the same output as we have
you can set the interval for the command:
commits which have created new deployments).
To limit the output you can set the interval for the command:

```shell {.command}
kosli log env aws-prod --interval 175..177
kosli log env aws-prod --interval 176..177
```

The output should be:

```plaintext {.light-console}
SNAPSHOT EVENT FLOW DEPLOYMENTS
#177 Artifact: 274425519734.dkr.ecr.eu-central-1.amazonaws.com/creator:31dee35 creator #87
Expand All @@ -48,7 +52,6 @@ SNAPSHOT EVENT
Fingerprint: 860ad172ace5aee03e6a1e3492a88b3315ecac2a899d4f159f43ca7314290d5a
Description: 1 instance started running (from 0 to 1).
Reported at: Tue, 06 Sep 2022 16:52:28 CEST
...
```

These two snapshots belong to the same blue-green deployment.
Expand Down

0 comments on commit 3d7b951

Please sign in to comment.