class Mysqlcollector::Template
Public Instance Methods
grafana()
click to toggle source
# File lib/mysqlcollector/template.rb, line 5 def grafana path = File.expand_path(File.join(Dir.pwd, '/assets/grafana_dashboard.json')) file = File.open(path, 'r') file.each_line do |line| puts line end file.close end