-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
46 lines (33 loc) · 876 Bytes
/
Makefile
File metadata and controls
46 lines (33 loc) · 876 Bytes
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
all: deps nso
deps: env
-cd run; git clone https://github.com/open-telemetry/opentelemetry-collector-contrib.git
./splunk/bin/activate ;cd nso; make deps
collectd:
cd collectd/; bash install.sh
env:
python3.11 -m venv splunk
chmod 755 splunk/bin/activate
splunk/bin/activate
splunk:
docker pull splunk/splunk:latest
cd run; docker compose up -d splunk
nso:
cd nso; make clean build
stop:
-cd nso; make stop
cd run; docker compose down
-sudo systemctl stop collectd.service
-sudo systemctl status collectd.service
start:
cd nso; make start
cd run; docker compose up -d otel-collector
-sudo systemctl start collectd.service
-sudo systemctl status collectd.service
start_frontend:
cd nso; make start
cd run; docker compose up
clean: stop
cd nso; make clean
reset: clean
rm -rf cd run/opentelemetry-collector-contrib
.PHONY: nso collectd splunk