summaryrefslogtreecommitdiffstats
path: root/doc/queue_msg_state.dot
blob: bfef2657fe87009f5a23d86cf1af2a8baccbd4e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// This file is part of rsyslog.
// 
// rsyslog message state in queue processing
//
// 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 {
	rankdir=LR

	prod	[label="producer" style="dotted" shape="box"]
	que	[label="queued"]
	deq	[label="dequeued"]
	del	[label="deleted"]

	prod -> que 	[label="qEnq()" style="dotted"]
	que  -> deq	[label="qDeq()"]
	deq  -> del	[label="qDel()"]
	deq  -> que	[label="fatal failure\n& restart"]

	//{rank=same; del apf pdn }
}