Delete `Prometheus` static target file.
This commit is contained in:
parent
81cfec10d9
commit
9a5d2d0178
|
@ -1,2 +0,0 @@
|
||||||
- targets:
|
|
||||||
- localhost:9100
|
|
|
@ -1,5 +1,5 @@
|
||||||
# Create `/etc/prometheus.d/`:
|
# Create `/etc/prometheus.d/`:
|
||||||
%w(/etc/prometheus.d /etc/prometheus.d/targets/).each do |d|
|
%w(/etc/prometheus.d).each do |d|
|
||||||
directory d do
|
directory d do
|
||||||
owner 'root'
|
owner 'root'
|
||||||
group 'root'
|
group 'root'
|
||||||
|
@ -14,13 +14,6 @@ remote_file '/etc/prometheus.d/prometheus.yml' do
|
||||||
mode '644'
|
mode '644'
|
||||||
end
|
end
|
||||||
|
|
||||||
# Deploy temporary file for `prometheus` targets:
|
|
||||||
remote_file '/etc/prometheus.d/targets/targets.yml' do
|
|
||||||
owner 'root'
|
|
||||||
group 'root'
|
|
||||||
mode '644'
|
|
||||||
end
|
|
||||||
|
|
||||||
# Deploy `supervisor` configuration for `prometheus`:
|
# Deploy `supervisor` configuration for `prometheus`:
|
||||||
remote_file '/etc/supervisor/conf.d/prometheus.conf' do
|
remote_file '/etc/supervisor/conf.d/prometheus.conf' do
|
||||||
owner 'root'
|
owner 'root'
|
||||||
|
|
Loading…
Reference in New Issue