Commit 868038aa authored by Jérome Perrin's avatar Jérome Perrin

software/grafana: use monitoring stack for new promises

parent baa3d9c0
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
[instance-profile] [instance-profile]
filename = instance.cfg.in filename = instance.cfg.in
md5sum = 8abfd8ce01c375257e94f64824478f5c md5sum = 8a745c9919eda880f3fe17ac127e2313
[influxdb-config-file] [influxdb-config-file]
filename = influxdb-config-file.cfg.in filename = influxdb-config-file.cfg.in
......
...@@ -74,15 +74,15 @@ mode = 0644 ...@@ -74,15 +74,15 @@ mode = 0644
extensions = jinja2.ext.do extensions = jinja2.ext.do
[check-port-listening-promise] [check-port-listening-promise]
<= monitor-base-promise <= monitor-promise-base
module = check_port_listening module = check_port_listening
name = ${:_buildout_section_name_}.py name = ${:_buildout_section_name_}.py
[check-url-available-promise] [check-url-available-promise]
recipe = slapos.cookbook:check_url_available <= monitor-promise-base
path = ${directory:promise}/${:_buildout_section_name_} module = check_url_available
dash_path = {{ dash_bin }} name = ${:_buildout_section_name_}.py
curl_path = {{ curl_bin }} config-url = ${:url}
[influxdb] [influxdb]
ipv6 = ${instance-parameter:ipv6-random} ipv6 = ${instance-parameter:ipv6-random}
...@@ -123,7 +123,7 @@ config-hostname = ${influxdb:ipv6} ...@@ -123,7 +123,7 @@ config-hostname = ${influxdb:ipv6}
config-port = ${influxdb:http-port} config-port = ${influxdb:http-port}
[influxdb-password-promise] [influxdb-password-promise]
<= monitor-base-promise <= monitor-promise-base
module = check_command_execute module = check_command_execute
name = ${:_buildout_section_name_}.py name = ${:_buildout_section_name_}.py
config-command = config-command =
......
...@@ -6,8 +6,6 @@ extends = ...@@ -6,8 +6,6 @@ extends =
../../component/make/buildout.cfg ../../component/make/buildout.cfg
../../component/golang/buildout.cfg ../../component/golang/buildout.cfg
../../component/openssl/buildout.cfg ../../component/openssl/buildout.cfg
../../component/curl/buildout.cfg
../../component/dash/buildout.cfg
buildout.hash.cfg buildout.hash.cfg
gowork.cfg gowork.cfg
...@@ -153,11 +151,7 @@ context = ...@@ -153,11 +151,7 @@ context =
key grafana_homepath gowork:grafana-homepath key grafana_homepath gowork:grafana-homepath
key loki_bin gowork:loki-bin key loki_bin gowork:loki-bin
key promtail_bin gowork:promtail-bin key promtail_bin gowork:promtail-bin
key curl_bin :curl-bin
key dash_bin :dash-bin
key monitor_template monitor2-template:rendered key monitor_template monitor2-template:rendered
curl-bin = ${curl:location}/bin/curl
dash-bin = ${dash:location}/bin/dash
[versions] [versions]
slapos.recipe.template = 4.2 slapos.recipe.template = 4.2
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment