Skip to content

Commit

Permalink
chore: Add additional load test instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
TeodorSAP committed Dec 20, 2024
1 parent 18eb9ed commit 64ae962
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion docs/contributor/benchmarks/otlp-logs-validation.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,16 @@ helm upgrade --install -n "prometheus" "prometheus" prometheus-community/kube-pr
k apply -f telemetry-manager/hack/load-tests/log-agent-test-setup.yaml
```

For executing the load tests, the generated logs have to be isolated, hence the following line should be replaced in the ConfigMap of the log agent:

``` yaml
receivers:
filelog:
# ...
include:
- /var/log/pods/*/*/*.log # replace with "/var/log/pods/log-load-test*/*flog*/*.log"
```
For the 🏋️‍♀️ Backpressure Scenario additionally apply:
``` bash
k apply -f telemetry-manager/hack/load-tests/log-backpressure-config.yaml
Expand Down Expand Up @@ -246,7 +256,7 @@ round(sum(avg_over_time(node_namespace_pod_container:container_cpu_usage_seconds
- Agent Memory: 73/74
- Agent CPU: 0.7/0.6
- Gateway QUEUE: 0
- - **Generator:** 14 replicas x 10 MB (16:35 - 16:40)
- **Generator:** 14 replicas x 10 MB (16:35 - 16:40)
- **Results:**
- Agent RECEIVED/EXPORTED: 7.54K
- Gateway RECEIVED/EXPORTED: 7.54K
Expand Down

0 comments on commit 64ae962

Please sign in to comment.