geldata / geldata/edgedb-grafana-backend

Add down sample to example query

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
9
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Currently the example query just truncates the results to `max_data_points`.
```
# this seems to be optional, play with it and see what happens.
LIMIT max_data_points;
```

Instead the result should be down sampled to `max_data_points`.

See also https://grafana.com/docs/grafana/latest/panels-visualizations/query-transform-data/#query-options

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the example query containing the shown LIMIT max_data_points snippet and read how its results are currently produced. Consult the linked Grafana query-options documentation for the expected downsampling behavior; done means the example query downsamples results to max_data_points instead of merely truncating them.

Written by the indexing model from the issue text.

Assessment

Tech stack
grafana, typescript
Domain
backend, data
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.