Skip to content

Commit 9d04b38

Browse files
committed
chore: Fix promtail local config
1 parent eaedd97 commit 9d04b38

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

clients/cmd/promtail/promtail-local-config.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
server:
22
http_listen_port: 9080
33
grpc_listen_port: 0
4+
log_level: debug
45

56
positions:
67
filename: /tmp/positions.yaml
8+
sync_period: 10s
9+
target_config:
10+
sync_period: 10s
711

812
clients:
913
- url: http://localhost:3100/loki/api/v1/push

production/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ First, see the [build from source](../README.md) section of the root readme.
8383
Once Promtail is built, to run Promtail, use the following command:
8484

8585
```bash
86-
$ ./promtail -config.file=./cmd/promtail/promtail-local-config.yaml
86+
$ ./promtail -config.file=./clients/cmd/promtail/promtail-local-config.yaml
8787
...
8888
```
8989

0 commit comments

Comments
 (0)