mirror of
https://github.com/grafana/grafana.git
synced 2025-02-11 08:05:43 -06:00
22 lines
509 B
Go
22 lines
509 B
Go
package grafanads
|
|
|
|
const (
|
|
// QueryTypeRandomWalk returns a random walk series
|
|
queryTypeRandomWalk = "randomWalk"
|
|
|
|
// QueryTypeList will list the files in a folder
|
|
queryTypeList = "list"
|
|
|
|
// QueryTypeRead will read a file and return it as data frames
|
|
// currently only .csv files are supported,
|
|
// other file types will eventually be supported (parquet, etc)
|
|
queryTypeRead = "read"
|
|
)
|
|
|
|
type listQueryModel struct {
|
|
Path string `json:"path"`
|
|
}
|
|
type readQueryModel struct {
|
|
Path string `json:"path"`
|
|
}
|