Fix logging section in agent-send-to-grafana-cloud.yaml
This commit is contained in:
parent
527020bde6
commit
b07cd09ceb
@ -32,6 +32,12 @@
|
|||||||
basic_auth:
|
basic_auth:
|
||||||
username: "1234567" # your username / instanceID
|
username: "1234567" # your username / instanceID
|
||||||
password: "..." # your grafana.com token
|
password: "..." # your grafana.com token
|
||||||
|
configs:
|
||||||
|
- name: local
|
||||||
|
positions:
|
||||||
|
filename: /tmp/positions.yaml
|
||||||
|
target_config:
|
||||||
|
sync_period: 10s
|
||||||
scrape_configs:
|
scrape_configs:
|
||||||
# scrape all of the log files in /var/log on the localhost
|
# scrape all of the log files in /var/log on the localhost
|
||||||
- job_name: log-files
|
- job_name: log-files
|
||||||
|
Loading…
Reference in New Issue
Block a user