Skip to content

Commit

Permalink
Add target config (grafana#486)
Browse files Browse the repository at this point in the history
* Add target config

Support costomize target config.

Signed-off-by: Xiang Dai <764524258@qq.com>

* Update default value

Signed-off-by: Xiang Dai <764524258@qq.com>

* bump helm version

Signed-off-by: Xiang Dai <764524258@qq.com>
  • Loading branch information
daixiang0 authored and cyriltovena committed Apr 26, 2019
1 parent 09a891c commit 2b5943d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions production/helm/promtail/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,9 @@ config:
http_listen_port: 3101
positions:
filename: /run/promtail/positions.yaml
target_config:
# Period to resync directories being watched and files being tailed
sync_period: 10s
scrape_configs:
- entry_parser: '{{ .Values.entryParser }}'
job_name: kubernetes-pods-name
Expand Down

0 comments on commit 2b5943d

Please sign in to comment.