Skip to content

Commit

Permalink
Redo SLOs
Browse files Browse the repository at this point in the history
Signed-off-by: Alan Cha <[email protected]>
  • Loading branch information
Alan-Cha committed Aug 13, 2023
1 parent 7c47875 commit 317ec44
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions .github/workflows/testperformance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,6 @@ jobs:
- name: load test grpc service, no SLOs
run: |
set -e
export LOG_LEVEL=trace
iter8 k launch \
--localChart \
--chartName charts/iter8 \
Expand All @@ -172,23 +170,20 @@ jobs:
- name: load test grpc service, with SLOs
run: |
set -e
export LOG_LEVEL=trace
iter8 k launch --localChart \
iter8 k launch \
--localChart \
--chartName charts/iter8 \
--set "tasks={ready,grpc,assess}" \
--set ready.service=hello \
--set ready.timeout=60s \
--set "tasks={grpc,assess}" \
--set grpc.host=routeguide.default:50051 \
--set grpc.protoURL=https://raw.githubusercontent.com/grpc/grpc-go/v1.52.0/examples/route_guide/routeguide/route_guide.proto \
--set grpc.call=routeguide.RouteGuide.GetFeature \
--set grpc.dataURL=https://raw.githubusercontent.com/iter8-tools/docs/v0.13.13/samples/grpc-payload/unary.json \
--set assess.SLOs.upper.grpc/error-rate=0 \
--set assess.SLOs.upper.grpc/latency/mean=200 \
--set assess.SLOs.upper.grpc/latency/p90=500 \
--set assess.SLOs.upper.grpc/latency/p'97\.5'=600 \
--set assess.SLOs.upper.grpc/latency/p'97\.5'=800 \
--set runner=job
iter8 k assert -c completed -c nofailure -c slos --timeout 60s
iter8 k assert -c completed --timeout 300s
iter8 k assert -c completed -c nofailure -c slos --timeout 300s
iter8 k report
iter8 k log
iter8 k delete
Expand Down

0 comments on commit 317ec44

Please sign in to comment.