Skip to content

Commit

Permalink
feat: add otel-demo screenshots
Browse files Browse the repository at this point in the history
Co-authored-by: Suhyen Im <[email protected]>
Co-authored-by: Jaeyeon Park <[email protected]>
Signed-off-by: Suhyen Im <[email protected]>
Signed-off-by: Jaeyeon Park <[email protected]>
  • Loading branch information
suhyenim and moggaa committed Sep 3, 2024
1 parent f01a512 commit c432c5f
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 13 deletions.
17 changes: 7 additions & 10 deletions monitoring/tutorials/otel-demo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@

This tutorial provides instructions on setting up and using OpenTelemetry for monitoring target applications under chaos.

<img src="./screenshots/otel_demo_tutorial_architecture.png" alt="otel_demo_tutorial_architecture" width="800" />


## Setups

### 0. Prerequisites
- Kubernetes 1.24+
- 6 GB of free RAM for the application
- 8 GB of free RAM
- Helm 3.9+

### 1. Install Litmus
Expand Down Expand Up @@ -84,18 +87,12 @@ This tutorial provides instructions on setting up and using OpenTelemetry for mo

### 4. Add Grafana Panel
Import the `chaos-experiments-dashboard.json` file into Grafana to visualize the results of chaos experiments.
![chaos-experiments-dashboard-1.png](./screenshots/chaos-experiments-dashboard-1.png)
![chaos-experiments-dashboard-2.png](./screenshots/chaos-experiments-dashboard-2.png)

### 5. Experiments on Target Applications
Explore the following experiments to test and observe chaos in target applications:

- [Pod Delete](https://github.com/litmuschaos/litmus/blob/master/monitoring/tutorials/otel-demo/recommendation-service)
- [Pod Delete](./recommendation-service)
> Performs a Pod delete experiment on the recommendation service.

- [Pod Network Latency](https://github.com/litmuschaos/litmus/blob/master/monitoring/tutorials/otel-demo/cart-service)
> Conducts a network latency experiment on the cart service.

---

Feel free to adjust any details as needed!
- [Pod Network Latency](./cart-service)
> Performs a network latency experiment on the cart service.
3 changes: 2 additions & 1 deletion monitoring/tutorials/otel-demo/cart-service/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@
1. Click on the `Run` button
2. Check Experiment Status and Logs
3. Check the Resilience Score
4. Check cart service Spanmetrics Metrics using Grafana ![cartservice_spanmetrics.png](../screenshots/cartservice_spanmetrics.png)
4. Check the Chaos Exporter metrics using Grafana and confirm if the experiment failed. ![cart_service_pod_network_latency_experiment_result_dashboard.png](../screenshots/cart_service_pod_network_latency_experiment_result_dashboard.png)
5. Check cart service Spanmetrics Metrics using Grafana ![cartservice_spanmetrics.png](../screenshots/cartservice_spanmetrics.png)
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# recommendation service pod delete
## Description
- This experiment injects pod delete chaos to the recommendation service pod.
- The Probe checks the Prometheus metrics for the error rate of the ListRecommendations span.
- The Probe checks the Prometheus metrics for the error rate of the ListRecommendations span
- ListRecommendations is included in the frontend service, even though it utilizes the recommendation service.
## Steps
### 1. Probe Settings
- probe type: `Prometheus Probe`
Expand All @@ -22,4 +23,5 @@
1. Click on the `Run` button
2. Check Experiment Status and Logs
3. Check the Resilience Score
4. Check Error Rate for frontend using Grafana ![frontend_spanmetrics.png](../screenshots/frontend_spanmetrics.png)
4. Check the Chaos Exporter metrics using Grafana and confirm if the experiment passed. ![recommendation_service_pod_delete_experiment_result_dashboard.png](../screenshots/recommendation_service_pod_delete_experiment_result_dashboard.png)
5. Check Error Rate in frontend service Spanmetrics using Grafana ![frontend_spanmetrics.png](../screenshots/frontend_spanmetrics.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 not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c432c5f

Please sign in to comment.