Skip to content

Commit

Permalink
Merge pull request #6553 from ChrisBr/influxdb-beta-sql
Browse files Browse the repository at this point in the history
Enable sql series for influxdb-rails gem
  • Loading branch information
ChrisBr committed Dec 10, 2018
2 parents c714a54 + 92a0bf1 commit bc2949d
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/api/config/initializers/influxdb_rails.rb
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
InfluxDB::Rails.configure do |config|
config.influxdb_database = CONFIG['influxdb_database']
config.influxdb_username = CONFIG['influxdb_username']
config.influxdb_password = CONFIG['influxdb_password']
config.influxdb_hosts = CONFIG['influxdb_hosts'] || [] # default is otherwise localhost
config.influxdb_port = CONFIG['influxdb_port']
config.retry = CONFIG['influxdb_retry']
config.use_ssl = CONFIG['influxdb_ssl']

config.time_precision = CONFIG['influxdb_time_precision']
config.influxdb_database = CONFIG['influxdb_database']
config.influxdb_username = CONFIG['influxdb_username']
config.influxdb_password = CONFIG['influxdb_password']
config.influxdb_hosts = CONFIG['influxdb_hosts'] || [] # default is otherwise localhost
config.influxdb_port = CONFIG['influxdb_port']
config.retry = CONFIG['influxdb_retry']
config.use_ssl = CONFIG['influxdb_ssl']
config.time_precision = CONFIG['influxdb_time_precision']
config.series_name_for_sql = 'rails.sql'
end

0 comments on commit bc2949d

Please sign in to comment.