-
Notifications
You must be signed in to change notification settings - Fork 1
Locust: Index page and starter tutorial #293
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
WalkthroughAdds two documentation pages under docs/integrate/locust: an index introducing Locust integration and a detailed tutorial. The tutorial covers cluster setup, schema and data loading, Locust installation, minimal and advanced Locustfile examples with a CrateDB client, run instructions, and references. No exported/public code changes. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
actor U as User
participant L as Locust CLI/Web
participant LT as Locustfile Tasks
participant C as CrateDBClient
participant D as CrateDB (SQL)
U->>L: Start test (users, spawn rate, host)
L->>LT: Schedule tasks per weights
LT->>C: run_query(sql, params)
C->>D: Execute SQL via Python driver
D-->>C: Rows / result
C->>L: fire_request_success(name, response_time, length)
Note over L: Stats aggregator updates per request
L-->>U: Web UI metrics (RPS, latency, per-query stats)
alt Error
D-->>C: Exception
C->>L: fire_request_failure(name, error)
L-->>U: Error rate and traces visible
end
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Suggested labels
Suggested reviewers
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This comment was marked as duplicate.
This comment was marked as duplicate.
@coderabbitai review and please convert all spots to active voice. |
@amotl I'll review the PR and focus on converting all instances to active voice as requested. This aligns with the documentation guidance I have about using active voice instead of first-person or passive voice. 🧠 Learnings used
✅ Actions performedReview triggered.
|
b15c80d
to
3599635
Compare
About
Continue adding integration guides from the community forum.
Preview
References