summaryrefslogtreecommitdiffstats
path: root/doc/batch_state.dot
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-05-08 17:56:16 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-05-08 17:56:16 +0200
commit2ca67f83aa9c52568a5347b600361e698322a337 (patch)
treeee643bffe8c1683005c5447d676a46fb6d644790 /doc/batch_state.dot
parent9a41bcee58eb95635d1038ae91b3164ecb4b8da8 (diff)
downloadrsyslog-2ca67f83aa9c52568a5347b600361e698322a337.tar.gz
rsyslog-2ca67f83aa9c52568a5347b600361e698322a337.tar.xz
rsyslog-2ca67f83aa9c52568a5347b600361e698322a337.zip
worked on rsyslog design internals paper
Diffstat (limited to 'doc/batch_state.dot')
-rw-r--r--doc/batch_state.dot28
1 files changed, 28 insertions, 0 deletions
diff --git a/doc/batch_state.dot b/doc/batch_state.dot
new file mode 100644
index 00000000..0dd48b47
--- /dev/null
+++ b/doc/batch_state.dot
@@ -0,0 +1,28 @@
+// This file is part of rsyslog.
+//
+// rsyslog batch state diagram
+//
+// see http://www.graphviz.org for how to obtain the graphviz processor
+// which is used to build the actual graph.
+//
+// generate the graph with
+// $ dot file.dot -Tpng >file.png
+
+digraph msgState {
+ compound=true; nodesep=1.0
+ //label="\n\nrsyslog batch states\nhttp://www.rsyslog.com";
+ rankdir=LR
+
+ rdy [label="ready"];
+ bad [label="message-caused\nfailure"];
+ sub [label="submitted"]
+ disc [label="discarded" color="red"]
+
+ rdy -> sub [label="submitted to action"]
+ rdy -> bad [label="permanent fail"]
+ rdy -> disc [label="action requests discarding"]
+ sub -> rdy [label="next action or\naction-caused failure"]
+ bad -> rdy [label="next action"]
+
+ //{rank=same; comm rtry }
+}