The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
grafana/pkg/tsdb/grafanads/query.go

28 lines
718 B

package grafanads
const (
// QueryTypeRandomWalk returns a random walk series
queryTypeRandomWalk = "randomWalk"
// QueryTypeList will list the files in a folder
queryTypeSearch = "search"
// queryTypeSearchNext will perform a search query using the next generation search service
queryTypeSearchNext = "searchNext"
// 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"`
}