Skip to content

Commit

Permalink
Prettify diagram.
Browse files Browse the repository at this point in the history
  • Loading branch information
wmedrano committed Jun 4, 2024
1 parent a17e393 commit 949b808
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions src/hosts/oddtaxi.org
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,26 @@
- Serve a static file.
- Reroute request to another job.

** Data Flow
:PROPERTIES:
:CUSTOM_ID: OverviewDataFlow-8074oxm0y7k0
:END:

#+BEGIN_SRC dot :file oddtaxi.png
digraph oddtaxi {
digraph oddtaxi {
node[shape=record];
subgraph cluster_1 {
prometheus[label="prometheus\n(metric collector)"];
grafana[label="grafana\n(prometheus frontend)"];
caddy[label="caddy\n(web server)"];
blog[label="blog\n(static files)"];
}
blog -> caddy -> public_internet;
prometheus -> grafana -> caddy;
blog -> prometheus[style=dashed];
grafana -> prometheus[style=dashed];
prometheus -> prometheus[style=dashed];

blog[label="blog\n(static files)"];
prometheus[label="prometheus\n(metric collector)"];
grafana[label="grafana\n(prometheus frontend)"];
caddy[label="caddy\n(web server)"];
}
caddy -> prometheus[style=dashed];
}
#+END_SRC

#+RESULTS:
Expand Down

0 comments on commit 949b808

Please sign in to comment.