From 1d2c6e352d6429a4bf2ee189542eb60c5c8f6ded Mon Sep 17 00:00:00 2001 From: Chris Goller Date: Fri, 2 Sep 2016 12:38:34 -0500 Subject: [PATCH] Add a possible sequence flow for queries --- docs/design.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/design.md b/docs/design.md index 0f05827451..70fcf517ff 100644 --- a/docs/design.md +++ b/docs/design.md @@ -36,6 +36,19 @@ Design - New client in design phase - non-SELECT queries need either Plutonium client or Influx oss client +```sequence +App->Proxy: POST query +Note right of Proxy: Query Validation +Proxy-->App: Location of query resource +App->Proxy: GET Location +Note right of Proxy: Load balance query +Proxy->Influx/Relay/Cluster: SELECT +Note right of Influx/Relay/Cluster: Prepared Telegraf query +Influx/Relay/Cluster-->Proxy: Time Series +Note right of Proxy: Format and Decimate +Proxy-->App: +Note left of App: Format to dygraph +``` Example: ```http