ydb-platform / ydb

YDB is an open source Distributed SQL Database that combines high availability and scalability with strong consistency and ACID transactions
https://ydb.tech
Apache License 2.0
4k stars 565 forks source link

add null datapoints at end&start of the range #1515

Closed antonkovalenko closed 8 months ago

antonkovalenko commented 9 months ago

In order to ease chart display for chart component

Doing it on frontend will cause the issue with not selectable extreme points (on the chart above you can select only 561 MB points). So it should be done on backend with adjusting number of datapoints, relative to available range.

Also agreed not to convert null points to 0 on frontend, intervals, where data was not collected, should not be displayed (will be fixed here: https://github.com/ydb-platform/ydb-embedded-ui/issues/674)

artemmufazalov commented 9 months ago

Endpoint: viewer/json/render

Frontend issue: https://github.com/ydb-platform/ydb-embedded-ui/issues/669

artemmufazalov commented 9 months ago

The fix should be done on backend in viewer/json/render endpoint