Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
9e942f1a
Commit
9e942f1a
authored
Jan 11, 2018
by
bergquist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adds Tables types to protobuf
parent
ce4beb73
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
2 deletions
+17
-2
Makefile
+2
-1
pkg/tsdb/models/tsdb_plugin.pb.go
+0
-0
pkg/tsdb/models/tsdb_plugin.proto
+15
-1
No files found.
Makefile
View file @
9e942f1a
...
...
@@ -27,5 +27,5 @@ test: test-go test-js
run
:
./bin/grafana-server
p
buf
:
p
rotoc
:
protoc
-I
pkg/tsdb/models pkg/tsdb/models/
*
.proto
--go_out
=
plugins
=
grpc:pkg/tsdb/models/.
\ No newline at end of file
pkg/tsdb/models/tsdb_plugin.pb.go
View file @
9e942f1a
This diff is collapsed.
Click to expand it.
pkg/tsdb/models/tsdb_plugin.proto
View file @
9e942f1a
...
...
@@ -3,6 +3,8 @@ option go_package = "proto";
package
plugins
;
import
"google/protobuf/any.proto"
;
message
TsdbQuery
{
TimeRange
timeRange
=
1
;
DatasourceInfo
datasource
=
2
;
...
...
@@ -32,8 +34,20 @@ message QueryResult {
string
refId
=
2
;
string
metaJson
=
3
;
repeated
TimeSeries
series
=
4
;
repeated
Table
tables
=
5
;
}
message
Table
{
repeated
TableColumn
columns
=
1
;
repeated
TableRow
rows
=
2
;
}
message
TableColumn
{
string
name
=
1
;
}
//repeat Table tables = x;
message
TableRow
{
repeated
google.protobuf.Any
values
=
1
;
}
message
DatasourceInfo
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment