Skip to content

Instantly share code, notes, and snippets.

@huy
Last active December 21, 2015 10:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save huy/6295999 to your computer and use it in GitHub Desktop.
Save huy/6295999 to your computer and use it in GitHub Desktop.
graphite diagram
digraph GraphiteHowItWorks {
labelloc="t"
label=<
<TABLE BORDER="0" CELLBORDER="0" CELLSPACING="0">
<TR><TD>
Graphite - How it works
</TD></TR>
</TABLE>
>
fontname="Times-Roman"
fontsize="14"
node [shape=record, fontname="Times-Roman", fontsize="12", style="filled,bold", fixedsize=true, width=1.5]
edge [fontsize="12" fontname="Times-Roman"]
browser [label="Browser", fillcolor="#A9D9F9"]
webapp [label="{Apache - modwsgi}", fillcolor="#9AF7F9"]
whisper [label="{metrics files}", fillcolor="#F2A662"]
browser:s->webapp:w [label="1. http request", dir="forward"]
browser:s->webapp:n [label="6. rendered graph", dir="back"]
metric_sender [label="{Metric Sender}", fillcolor="#A9D9F9"]
metric_sender:s->carbon:e [label="a. send metric data", dir="forward"]
webapp:s->whisper:w [label="2. read files", dir="forward"]
webapp:s->whisper:n [label="3. metrics data", dir="back"]
webapp:e->carbon:w [label="4. query metrics", dir="forward"]
webapp:e->carbon:n [label="5. metric data", dir="back"]
carbon [label="{Carbon Cache}", fillcolor="#A3ECC9"]
carbon:s->whisper:e [label="b. write to files", dir="forward"]
@huy
Copy link
Author

huy commented Aug 21, 2013

graphviz dot file of graphite diagram

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment