Skip to content
This repository was archived by the owner on Dec 11, 2022. It is now read-only.
This repository was archived by the owner on Dec 11, 2022. It is now read-only.

Annotation queries aren't working  #153

Closed
@ralston

Description

@ralston

Bug Report

I've found a few different issues with annotation queries:

  1. They don't appear to expand macros -- for the life of me I can't get a query to succeed when using $__timeFilter().

  2. Even when the query succeeds, no annotations show up in the dashboard.

Expected Behavior

  • Annotations loaded from bigquery show up in graph panels.
  • Annotations queries can use macros

Actual Behavior

Annotations don't show up. It looks like text column might not be deserialized properly

Steps to Reproduce the Problem

Use this trivial annotation query:

SELECT
  UNIXTIME(DATETIME("2019-10-08 08:40:00", "America/Los_Angeles")) as time,
  "Some Text" as text

Set up a dashboard over the relevant timespan (and for fun, add a table that shows annotations):

DeepinScreenshot_select-area_20191008085339

Specifications

  • Version: doitintl-bigquery-datasource @ 1.0.2
  • Platform: linux (GCE)
  • Grafana Version: v6.3.6

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions