Skip to content

Commit bbf6efe

Browse files
domgreenbwplotka
authored andcommitted
update quickstart to work out of box with mac (thanos-io#406)
1 parent eaf7756 commit bbf6efe

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/prometheus
12
/thanos
23
vendor/
34

scripts/quickstart.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ scrape_configs:
6565
- "localhost:19492"
6666
EOF
6767

68-
prometheus \
68+
./prometheus \
6969
--config.file data/prom${i}/prometheus.yml \
7070
--storage.tsdb.path data/prom${i} \
7171
--log.level warn \
@@ -80,7 +80,7 @@ sleep 0.5
8080
# Start one sidecar for each Prometheus server.
8181
for i in `seq 1 3`
8282
do
83-
thanos sidecar \
83+
./thanos sidecar \
8484
--debug.name sidecar-${i} \
8585
--grpc-address 0.0.0.0:1909${i} \
8686
--http-address 0.0.0.0:1919${i} \
@@ -98,7 +98,7 @@ sleep 0.5
9898

9999
if [ -n "${GCS_BUCKET}" -o -n "${S3_ENDPOINT}" ]
100100
then
101-
thanos store \
101+
./thanos store \
102102
--debug.name store \
103103
--log.level debug \
104104
--grpc-address 0.0.0.0:19691 \
@@ -115,7 +115,7 @@ sleep 0.5
115115
# Start to query nodes.
116116
for i in `seq 1 2`
117117
do
118-
thanos query \
118+
./thanos query \
119119
--debug.name query-${i} \
120120
--grpc-address 0.0.0.0:1999${i} \
121121
--http-address 0.0.0.0:1949${i} \

0 commit comments

Comments
 (0)