Skip to content

Query variable sometimes shows 'None' #55

Closed
@maxnovawind

Description

@maxnovawind

Context:

It seems that variables are sometimes lost when refreshing (F5) a dashboard with predefined query variables.

This is my settings in grafana:

Screenshot 2024-02-02 at 02 37 32

By checking the browser inspector, it appears to be related to a call with _elastic/_msearch:

Screenshot 2024-02-02 at 02 17 37

{"size":0,"query":{"bool":{"filter":[{"range":{"":{"gte":"1706814729878","lte":"1706836329878"}}}]}},"aggs":{"1":{"terms":{"field":"attributes.environment","size":500,"order":{"_key":"asc"}}}}}

As we can see, the timestamp_nanos field is empty, causing a bad request when attempting to retrieve different possible values for this field.

Environment:

Grafana version: v10.1.2, v10.3.1

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions