How kumailr7/locust-grafana-docker works
Main Services Layer
• Locust Master Node
• Locust Worker Nodes (scalable)
• Prometheus (Monitoring)
• Grafana (Visualization)
• Target API (System Under Test)
Data Flow Layer
• Metrics collection
• Load test execution
• Results visualization
Component Representations
• Use rectangles for main services (Locust Master, Workers, Prometheus, Grafana)
• Use cloud symbols for the Target API
• Blue: Locust components
• Orange: Monitoring components
• Green: Target system
• Gray: Infrastructure components
Specific Elements
a. Control Plane:
• [Locust Web UI (8089)] <- User Interaction
• [Locust Master]
• [Worker 1] [Worker 2] ... [Worker N]
• [Target API]
b. Monitoring Plane:
• [Locust Exporter] -> [Prometheus] -> [Grafana]
Additional Details
• Port numbers (8089, 3000)
• Docker container boundaries
• Volume mounts for configuration files
• Scaling capabilities of worker nodes
Notes Section
A small notes section indicating:
• Docker Compose orchestration
• Configuration file locations
• Scaling capabilities
• Authentication points (Grafana login)
Key Relationships to Highlight:
Configuration management
Remember to:
• Use consistent sizing for similar components
• Clear labels and annotations
• Both control and data flows
• Scalability points
• Configuration touchpoints