* fix(ui): ensure all dashboard cards render the same size
* fix(ui): ensure dashboard cards with long names don't deform
* chore(ui): changelog
* fix(ui): update dashboard card name selector in e2e test
Filter cursors buffer points in between calls to Next() if the number
of read points exceeds 1000. Previously, this buffer was being cleared
out before being iterated over which caused queries to return a resultset
which had a number of rows divisable by 1000.
This change moves the clearing of the buffer until after the points have
been read. This change affects any queries which read more than 1000 points
from a single series & have a filter that can be successfully applied to at
least one of those points.
* feat(ui): redesign alerting index to be responsive
* chore(ui): update changelog
* fix(ui): ensure tested elements are visible
* fix(ui): actually fix e2e tests
These APIs require a measurement, permitting an additional optimization
to reduce the search space against the TSM index. Specifically, the
search key prefix is extended from `org+bucket` to
`org+bucket,\x00=<measurement>`
* MeasurementNames
* MeasurementTagKeys
* MeasurementTagValues
* Adds an api to the models package for efficiently parsing the
measurement tag (\x00) from a normalized series key
* feat(sampledata): Add readableRetention to buckets remove ruleString
* feat(sampledata): Add new demodata bucket type and card
* feat(sampledata): Fix buckets in test
* feat(sampledata): Return empty array if demodata bucket fetching errors
* feat(sampledata): Do cleanup
* feat(sampledata): Make components more readable
The root cause is that the Unsigned data type has no representation
in the valueType function in the cache and falls back to the default
case of 0.
0 is also a sentinel value in the entry#add function that will
result in skipping the value type check.
It therefore is possible that unsigned values followed by some other
data type is stored in the cache.
It is suspected that the write may be rejected before reaching the
cache, and therefore may not occur in practice. Specifically, the
series file stores the data types on a per-series basis and would
reject the write.
This commit turns the value types into explicit constants and
ensures all existing block types are represented. In addition,
it adds a mapping function to convert these to a known Block type,
which will be used by the `MeasurementFields` schema request to
determine the type of a series in the cache.