forked from WuerthPhoenix/tornado
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.toml
More file actions
134 lines (119 loc) · 2.71 KB
/
Makefile.toml
File metadata and controls
134 lines (119 loc) · 2.71 KB
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
# Prerequisites:
# Install cargo-make:
# > cargo install --force cargo-make
# Starts the Tornado Engine.
#
# Execute with:
# > cargo make run-engine
[tasks.run-engine]
workspace = false
command = "cargo"
args = [
"run",
"--bin",
"tornado_engine",
"--",
"--config-dir=./tornado/engine/config",
"daemon",
]
# Executes the apm-tracing command.
#
# Execute with:
# > cargo make run-apm-tracing
[tasks.run-apm-tracing]
workspace = false
command = "cargo"
args = [
"run",
"--bin",
"tornado_engine",
"--",
"--config-dir=./tornado/engine/config",
"apm-tracing",
"disable"
]
# Starts the rsyslog-collector and the spike_rsyslog_collector_writer.
#
# The spike_rsyslog_collector_writer will generate fake rsyslog events
# and will pipe them to the rsyslog_collector.
# Consequently, the rsyslog_collector will process the Events
# and send Tornado Events to the Engine.
#
# Execute with:
# > cargo make run-rsyslog-collector
[tasks.run-rsyslog-collector]
workspace = false
script = [
"cargo run --bin spike_rsyslog_collector_writer -- --json-events-path=./spike/rsyslog_collector_writer/events |",
"cargo run --bin tornado_rsyslog_collector -- --config-dir=./tornado/rsyslog_collector/config"
]
# Starts the tornado_icinga2_collector.
#
# Execute with:
# > cargo make run-icinga2-collector
[tasks.run-icinga2-collector]
workspace = false
command = "cargo"
args = [
"run",
"--bin",
"tornado_icinga2_collector",
"--",
"--config-dir=./tornado/icinga2_collector/config"
]
# Starts the webhook-collector.
#
# Execute with:
# > cargo make run-webhook-collector
[tasks.run-webhook-collector]
workspace = false
command = "cargo"
args = [
"run",
"--bin",
"tornado_webhook_collector",
"--",
"--config-dir=./tornado/webhook_collector/config"
]
# Starts a Tornado Events generator that sends simulated Events to the Engine.
#
# Execute with:
# > cargo make run-tornado_events_generator
[tasks.run-tornado_events_generator]
workspace = false
command = "cargo"
args = [
"run",
"--bin",
"spike_tornado_events_generator",
"--",
"--config-dir=./spike/tornado_events_generator/config"
]
# Starts the tornado_email_collector.
#
# Execute with:
# > cargo make run-email-collector
[tasks.run-email-collector]
workspace = false
command = "cargo"
args = [
"run",
"--bin",
"tornado_email_collector",
"--",
"--config-dir=./tornado/email_collector/config"
]
# Starts the nats-json-collector.
#
# Execute with:
# > cargo make run-nats-json-collector
[tasks.run-nats-json-collector]
workspace = false
command = "cargo"
args = [
"run",
"--bin",
"tornado_nats_json_collector",
"--",
"--config-dir=./tornado/nats_json_collector/config"
]