There are a number of concepts that are currently loosely related to access control.
- Authorizations
- Sessions
- User Resource Mapping
The way that a request is currently authorized takes place in one of two ways
InfluxDB is great at storing and working with time series data, however that data is often useless without some additional non time series data.
Take Chronograf as an example. Without the ability to store dashboards, Chronograf would be nothing more than a visual query builder. The rich experience that Chronograf provides is only possible since can store some amount of non time series data.
I propose that we allow users to store Tables of non time series data. This would truly
package main | |
import ( | |
"fmt" | |
"math" | |
"time" | |
"github.com/influxdata/influxdb/client/v2" | |
) |
[tsm1] 2016/09/28 15:45:01 compacting level 1 group (0) /Users/michaeldesa/.influxdb/data/stress/autogen/2/000000007-000000001.tsm (#1) | |
unexpected fault address 0x811b009 | |
fatal error: fault | |
[signal SIGBUS: bus error code=0x2 addr=0x811b009 pc=0x41def2] | |
goroutine 781 [running]: | |
runtime.throw(0x67056a, 0x5) | |
/usr/local/Cellar/go/1.7.1/libexec/src/runtime/panic.go:566 +0x95 fp=0xc42042d360 sp=0xc42042d340 | |
runtime.sigpanic() | |
/usr/local/Cellar/go/1.7.1/libexec/src/runtime/sigpanic_unix.go:21 +0x1d0 fp=0xc42042d3b8 sp=0xc42042d360 |
[query] 2016/03/09 22:44:53 SELECT count("*") * "*" FROM stress."default".cpu | |
panic: runtime error: invalid memory address or nil pointer dereference | |
[signal 0xb code=0x1 addr=0x20 pc=0x6eb986] | |
goroutine 115 [running]: | |
github.com/influxdata/influxdb/influxql.Iterators.Close(0xc20933ac40, 0x1, 0x1, 0x0, 0x0) | |
/tmp/influxdb/src/github.com/influxdata/influxdb/influxql/iterator.go:39 +0x96 | |
github.com/influxdata/influxdb/influxql.(*Emitter).Close(0xc208170e00, 0x0, 0x0) | |
/tmp/influxdb/src/github.com/influxdata/influxdb/influxql/emitter.go:38 +0x4d | |
github.com/influxdata/influxdb/cluster.(*QueryExecutor).executeSelectStatement(0xc20805a6c0, 0xc20b8a2820, 0x2710, 0x0, 0xc20b096180, 0xc20b096120, 0x0, 0x0) |
a |
[tsm1] 2015/10/02 21:48:28 writing new index file /var/opt/influxdb/data/_internal/monitor/1/0000001.tsm1 | |
[tsm1wal] 2015/10/02 21:48:28 /var/opt/influxdb/data/_internal/monitor/1 flush to index took 3.725643ms | |
[tsm1wal] 2015/10/02 21:49:28 idle flush of /var/opt/influxdb/data/_internal/monitor/1 with 27 keys and 162 total values of 2592 bytes | |
[tsm1] 2015/10/02 21:49:28 writing new index file /var/opt/influxdb/data/_internal/monitor/1/0000002.tsm1 | |
[tsm1wal] 2015/10/02 21:49:28 /var/opt/influxdb/data/_internal/monitor/1 flush to index took 2.906997ms | |
[tsm1wal] 2015/10/02 21:50:28 idle flush of /var/opt/influxdb/data/_internal/monitor/1 with 27 keys and 162 total values of 2592 bytes | |
[tsm1] 2015/10/02 21:50:28 writing new index file /var/opt/influxdb/data/_internal/monitor/1/0000003.tsm1 | |
[tsm1wal] 2015/10/02 21:50:28 /var/opt/influxdb/data/_internal/monitor/1 flush to index took 3.756706ms | |
[tsm1wal] 2015/10/02 21:51:28 idle flush of /var/opt/influxdb/data/_internal/monitor/1 with 27 keys and 162 total values of |
channel_buffer_size = 100000 | |
[write] | |
concurrency = 10 | |
batch_size = 10000 | |
batch_interval = "0s" | |
database = "stress" | |
precision = "n" | |
address = "localhost:8086" | |
reset_database = true |