* Create workers for flux fetch and response decoding
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
* Add flux data to linegraph
* Fix error when queryConfigs are undefined
* Add service as prop instead of treating source as either service or source
* Fix raw data view after changing components
* Remove commented code
* Update Changelog
* Fix tests
* Remove unnecessary comment
* Rename timeSeries and data for clarity
* Add try catch around worker jobs
* Add type annotations
* Remove unncessary check
* Update to use descriptive variables
* fix: render invalid Alerts Table row data as mdash
create new AlertsTableRow component
refactor Alerts Table rows to use new AlertsTableRow component
* test AlertsTableRow for valid data
render spans for all alerts table row cell values
* update changelog
Convert HostsPage and HostsTable to typescript
Display page-spinner if hostpage in loading state
Add error state to HostsPage
Fix tests for HostsPage
Update Changelog
Add missing type definitions to HostsTable
* WIP
* Use divs instead of background image URI
* Make cell resizer prettier
* Only show cell resizer on cell hover
* Make linter happy
* Redesign layout cell to adapt to single stat coloration and have spicy new aesthetic
* Guard against cellBackgroundColor getting set to null
* Add error boundary to cell header
* Polish
* Make custom time indicator more legible
* Update changelog
* Cleanup the code!
Previously, the SourceSelector would hide itself unless Chronograf was
connected to more than one source. This prevented a Chronograf instance
from selecting a dynamic source or creating flux queries when only
connected to one source.
In addition to fixing this issue, this commit removes the “Source:” text
from the TimeMachine controls, per the design spec.
feat: refactor log viewer to progressively load and render logs
Logs are progressively tailed to a buffer every 5000ms
while live updating. This is easily customizable. After
30000ms, this tail buffer is flushed to the "backward"
logs. This buffer was introduced to avoid losing logs
newly written to the database. This could easily be
extended to be a rolling buffer to be even more robust.
Also adds an Upper and Lower timestamp in the UI to
indicate to the user what the current search space time
bounds are.
Also removes logs from local storage.
Also fixers awaiting retrieving namespaces in order to
perform subsequent ajax requests & dispatches.
Also renames various functions & vars for clarity,
corrects typos, and corrects capitalization according
to convention.
Also removes LIMIT on fetch older and newer.
Also replaces bounds stored in Redux with UTC time.
Additionally, all the following:
* Fix LogsTable scroll loading indicator
* Move constants out of logs page
* Update newer chunk to be 100
* Fix tailing when custom/relative set
* Update chunk sizes to 30sec
* Update to use shouldLiveUpdate getter
* Fix scrollToRow after fetchNewer
* Update to use clearTailInterval
* Update scrollTo middle of backward if no forward data
* Remove last/first query time logic from logsTable
* Removing the last/first query time logic fixed scrolling
not working after performing a search and then deleting
the filter.
* Replace undefined currentNewer w/ nextNewerLower
* Add missing source redirection
* Remove comment deleted Paused status
* Add await to notify when no results are found
* Update fetchNewer to avoid chunking far into the future
* Update nextNewerLowerBound onChooseRelative
* Update lower bound on custom selection
* Update no results loading status
* Add comments to clarify actions
* Update fetch until to check before fetch
* Fix linting errors
* Update CHANGELOG 1.7.0 fixes
* Update logs to go to Infinity
* use Date instead of moment for logs actions
* replace moment with Date where straightforward in LogsPage
* throw error from fetchEachAsync so consumers can handle it
* Fix infiniteTableData localStorage
* add minor todo for possible future tweak
* remove redundant error throw
* simplify a LogsPage use of Date
* move max tail buffer const next to tail chunk duration const for clarity
* clarify comments documenting logs actions and state
* run histogram & table query config requests in parallel
Co-authored-by: Delmer Reed <ofthedelmer@gmail.com>
Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
Prevent dashboard cell axis overwriting if Bounds is empty
Add measurements field to protoboards meta
Correct comment on protoboardsStore
Add styling and copy polish to wizards
Update Protoboards to include meta.measurements
Refactor protoboard suggestion
Update Wizard tests to incorporate capitalizations
Add types to protoboardsSuggestion
Fix go tests