Deploy `/etc/vector/prometheus.toml`.

This commit is contained in:
Kazuhiro MUSASHI 2023-02-12 19:13:52 +09:00
parent ec680b2719
commit 8c8db4ad18
1 changed files with 7 additions and 0 deletions

View File

@ -51,6 +51,13 @@ remote_file '/etc/logrotate.d/prometheus' do
mode '644'
end
# Depoy `vector` configuration for `prometheus`:
remote_file '/etc/vector/prometheus.toml' do
owner 'root'
group 'root'
mode '644'
end
# Depoy `consul` service configuration for `prometheus`:
remote_file '/etc/consul.d/service-prometheus.json' do
owner 'consul'