mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Streaming: support streaming and a javascript test datasource (#16729)
This commit is contained in:
9
pkg/tsdb/testdata/scenarios.go
vendored
9
pkg/tsdb/testdata/scenarios.go
vendored
@@ -225,6 +225,15 @@ func init() {
|
||||
},
|
||||
})
|
||||
|
||||
registerScenario(&Scenario{
|
||||
Id: "streaming_client",
|
||||
Name: "Streaming Client",
|
||||
Handler: func(query *tsdb.Query, context *tsdb.TsdbQuery) *tsdb.QueryResult {
|
||||
// Real work is in javascript client
|
||||
return tsdb.NewQueryResult()
|
||||
},
|
||||
})
|
||||
|
||||
registerScenario(&Scenario{
|
||||
Id: "table_static",
|
||||
Name: "Table Static",
|
||||
|
||||
Reference in New Issue
Block a user