Skip to content

Annotations response schema #208

Closed Answered by simPod
cicheck asked this question in Q&A
Oct 15, 2021 · 3 comments · 2 replies
Discussion options

You must be logged in to vote

Hi, you have to return anything, that can be converted to dataframe as specified in https://github.com/simPod/GrafanaJsonDatasource#query Grafana now uses that.

E.g. I think I'm returning this:

[
            ['name' => 'Start', 'type' => 'time', 'values' => []],
            ['name' => 'End', 'type' => 'time', 'values' => []],
            ['name' => 'Tags', 'type' => 'string', 'values' => []],
            ['name' => 'Text', 'type' => 'string', 'values' => []],
]

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@cicheck
Comment options

Answer selected by cicheck
Comment options

You must be logged in to vote
1 reply
@cicheck
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants