Skip to content

Commit

Permalink
add telemetry page and deploy slow version
Browse files Browse the repository at this point in the history
  • Loading branch information
agardnerIT committed Aug 21, 2023
1 parent 0ae141b commit 8eaf937
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/4-explainer.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,4 @@ As explained previously the Keptn Lifecycle Toolkit also provides a way to run S

![keptn evaluation label](assets/keptn-eval-label.png)

➡️ Next: [Deploy Slow Application Version](5-deploy-slow-version.md) ➡️
➡️ Next: [View Telemetry](5-view-telemetry.md) ➡️
30 changes: 30 additions & 0 deletions docs/5-view-telemetry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# View Deployment Telemetry

Keptn emits DORA metrics and OpenTelemetry traces for every deployment.

In the codespace, go to the `Ports` tab and open Grafana.

Login with these details:

- Username: `admin`
- Password: `admin`

* Go to "Dashboards > Browse"
* Open the "Keptn Applications" dashboard in the "Default" folder

You should see:

* 1 successful deployment
* Zero failed deployments
* Zero active deployments (this metrics tracks currently-in-progress deployments)
* Zero data for "time between deployments" (this is calculated when there are > 1 deployments)
* A deployment time (in seconds) for `V1.1`
* An OpenTelemetry trace for the `V1.1` deployment

![telemetry 1](assets/telemetry-1.png)

Clicking the OpenTelemetry trace displays the end-to-end timings of the deployment as ArgoCD actioned it.

![telemetry 2](assets/telemetry-2.png)

➡️ Next: [Deploy a Slow Version of the Application](6-deploy-slow-version.md) ➡️
File renamed without changes.
Binary file added docs/assets/telemetry-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/telemetry-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ nav:
- '2: Create Kubernetes Cluster': '2-create-cluster.md'
- '3: Access ArgoCD': '3-access-argo.md'
- '4: The System Explained': '4-explainer.md'
- '5: Roll out Slow Version': '5-deploy-slow-version.md'
- '5: View Telemetry': '5-view-telemetry.md'
- '6: Roll out Slow Version': '6-deploy-slow-version.md'

# pip install mkdocs-macros-plugin
# Allows use of variables (see `extras` below)
Expand Down

0 comments on commit 8eaf937

Please sign in to comment.