From 40ffa49a62f3a4eea792e28b17109afd117fee9d Mon Sep 17 00:00:00 2001 From: Stuart Carnie Date: Mon, 13 Nov 2017 11:01:27 -0800 Subject: [PATCH] rename config section to ifql Renaming for discoverability for the initial release of ifql --- cmd/influxd/run/config.go | 2 +- etc/config.sample.toml | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/cmd/influxd/run/config.go b/cmd/influxd/run/config.go index e8690347220..35ab070a32c 100644 --- a/cmd/influxd/run/config.go +++ b/cmd/influxd/run/config.go @@ -49,7 +49,7 @@ type Config struct { Monitor monitor.Config `toml:"monitor"` Subscriber subscriber.Config `toml:"subscriber"` HTTPD httpd.Config `toml:"http"` - Storage storage.Config `toml:"storage"` + Storage storage.Config `toml:"ifql"` GraphiteInputs []graphite.Config `toml:"graphite"` CollectdInputs []collectd.Config `toml:"collectd"` OpenTSDBInputs []opentsdb.Config `toml:"opentsdb"` diff --git a/etc/config.sample.toml b/etc/config.sample.toml index 22ede52a658..c56eb1ca636 100644 --- a/etc/config.sample.toml +++ b/etc/config.sample.toml @@ -252,6 +252,24 @@ # The maximum size of a client request body, in bytes. Setting this value to 0 disables the limit. # max-body-size = 25000000 + +### +### [ifql] +### +### Configures the ifql RPC API. +### + +[ifql] + # Determines whether the RPC service is enabled. + # enabled = true + + # Determines whether additional logging is enabled. + # log-enabled = true + + # The bind address used by the ifql RPC service. + # bind-address = ":8082" + + ### ### [subscriber] ###