Name |
Last commit
|
Last Update |
---|---|---|
.. | ||
grafana-data | ||
grafana-e2e | ||
grafana-e2e-selectors | ||
grafana-runtime | ||
grafana-toolkit | ||
grafana-ui | ||
jaeger-ui-components | ||
README.md |
* Logs: Use result range instead of timepicker range for log histogram If a logs datasource does not send histogram data for the requested time range, the logs model computes a timeseries based on the log row counts, bucketed by an automcatically calculated time interval. Even when this histogram time series did not span the whole requested time range it was still rendered in the graph across the whole range, leaving an empty area at its start. Users find this confusing and are lead to believe their log data is missing. This change fixes this by anchoring the start of the timeseries on the first log row's timestamp from the result, and adds this smaller range as `visibleRange` to the logs model and passes it through to the logs component that optionally takes it into account to not render the empty area. The interval (bucket size) is also adjusted to account for a potentially finer resolution on the shorter visible time interval. The bucketsize multiplier was also changed from 10 to 20 to account for the space between the chart's bars. * Aligned visible range with buckets * Extract bucket size calculation and add test
Name |
Last commit
|
Last Update |
---|---|---|
.. | ||
grafana-data | Loading commit data... | |
grafana-e2e | Loading commit data... | |
grafana-e2e-selectors | Loading commit data... | |
grafana-runtime | Loading commit data... | |
grafana-toolkit | Loading commit data... | |
grafana-ui | Loading commit data... | |
jaeger-ui-components | Loading commit data... | |
README.md | Loading commit data... |