mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
feat(influxdb): add alias to query
This commit is contained in:
@@ -90,6 +90,7 @@ func TestInfluxdbQueryParser(t *testing.T) {
|
||||
}
|
||||
]
|
||||
],
|
||||
"alias": "serie alias",
|
||||
"tags": [
|
||||
{
|
||||
"key": "datacenter",
|
||||
@@ -115,6 +116,7 @@ func TestInfluxdbQueryParser(t *testing.T) {
|
||||
So(len(res.Selects), ShouldEqual, 3)
|
||||
So(len(res.Tags), ShouldEqual, 2)
|
||||
So(res.Interval, ShouldEqual, ">20s")
|
||||
So(res.Alias, ShouldEqual, "serie alias")
|
||||
})
|
||||
|
||||
Convey("can part raw query json model", func() {
|
||||
|
||||
Reference in New Issue
Block a user