Skip to content
Snippets Groups Projects
Commit c9163294 authored by Jacob Vosmaer (GitLab)'s avatar Jacob Vosmaer (GitLab)
Browse files

Fix Grafana bootstrap issues

parent 3adfe079
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -167,6 +167,7 @@ influxdb/bin/influxd:
cd influxdb && make
 
influxdb/meta/meta.db:
printf ',s/^#influxdb/influxdb/\nwq\n' | ed -s Procfile
support/bootstrap-influxdb 8086
 
influxdb/influxdb.conf:
Loading
Loading
@@ -187,12 +188,11 @@ grafana/gdk-pg-created:
touch $@
 
grafana/gdk-data-source-created:
printf ',s/^#grafana/grafana/\nwq\n' | ed -s Procfile
support/bootstrap-grafana
touch $@
performance-metrics-setup: influxdb-setup grafana-setup Procfile
printf ',s/^#influxdb/influxdb/\nwq\n' | ed -s Procfile
printf ',s/^#grafana/grafana/\nwq\n' | ed -s Procfile
performance-metrics-setup: Procfile influxdb-setup grafana-setup
 
clean-config:
rm -f \
Loading
Loading
Loading
Loading
@@ -23,7 +23,7 @@ begin
end
end
 
abort "#$0: could not connect to InfluxDB at #{host}:#{port}" unless socket_ready
abort "#$0: could not connect to Grafana at #{host}:#{port}" unless socket_ready
 
http = Net::HTTP.new(host, port)
request = Net::HTTP::Post.new('/api/datasources')
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment