Skip to content

Commit

Permalink
.md file that points to the svg
Browse files Browse the repository at this point in the history
  • Loading branch information
alteryx-sezell committed Feb 27, 2024
1 parent 0b9f94b commit 47a18e7
Show file tree
Hide file tree
Showing 3 changed files with 66 additions and 4 deletions.
5 changes: 5 additions & 0 deletions docs/database_listener_design_documentation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Database Listener for Locust/Grasshopper Design Documentation

## Sequence Diagram of how listeners are currently working within the framework

![Sequence Diagram](database_listeners_sequence_diagram.svg)
10 changes: 6 additions & 4 deletions docs/database_listeners_sequence_diagram.puml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@

@startuml
actor GrasshopperTest
control LaunchTest
boundary Grasshopper
box "Grasshopper" #LightBlue
boundary LaunchTest
entity Grasshopper
entity GrasshopperListeners
end box
entity LocustDBListener
boundary DbClient
database Database
Expand Down Expand Up @@ -41,6 +43,6 @@ deactivate LaunchTest
GrasshopperTest -> Locust : send http request (via API library, wich calls the Locust request method)
Locust ->> LocustDBListener : call listener on request event
LocustDBListener ->> DbClient : add metric for the request
DbClient ->> Database : post data point
DbClient ->> Database : post data point

@enduml
@enduml
55 changes: 55 additions & 0 deletions docs/database_listeners_sequence_diagram.svg
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 47a18e7

Please sign in to comment.